mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-12-06 07:55:10 +00:00
test: delete slow, timing-based and redundant tests
This commit is contained in:
@@ -10,7 +10,7 @@ from typing import Any
|
||||
|
||||
import pytest
|
||||
|
||||
from tests.drm_plugins import EXAMPLE, OTHER, ExampleDevice
|
||||
from tests.drm_plugins import EXAMPLE, ExampleDevice
|
||||
from tests.remote.sessions import launch_session
|
||||
from unshackle.commands.dl import dl
|
||||
from unshackle.core import plugins
|
||||
@@ -86,11 +86,6 @@ def test_an_operator_device_file_comes_before_the_bundled_one(monkeypatch: pytes
|
||||
assert device is not None and device.source == app_config.directories.prds / "EXAMPLE_DEFAULT.exd"
|
||||
|
||||
|
||||
def test_devices_need_a_device_suffix() -> None:
|
||||
with pytest.raises(ValueError, match="has devices but no device_suffix"):
|
||||
dataclasses.replace(OTHER, default_device="EXAMPLE_DEFAULT")
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def bundled(monkeypatch: pytest.MonkeyPatch, tmp_path: Path) -> Path:
|
||||
"""EXAMPLE with its own devices EXAMPLE_DEFAULT (its default) and EXAMPLE_V3, and no operator device files."""
|
||||
|
||||
Reference in New Issue
Block a user