test: delete slow, timing-based and redundant tests

This commit is contained in:
imSp4rky
2026-12-05 15:20:05 -07:00
parent 783a2fc185
commit 3a0a74e694
292 changed files with 153 additions and 15174 deletions
+1 -6
View File
@@ -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."""