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:
@@ -13,11 +13,6 @@ from unshackle.core.tracks import Audio
|
||||
from unshackle.core.wire import track_from_dict, track_to_dict
|
||||
|
||||
|
||||
@pytest.mark.parametrize("layout", ["5.1.4", "7.1.2", "9.1.6"])
|
||||
def test_an_immersive_layout_survives_construction(layout: str) -> None:
|
||||
assert Audio(id_="a1", url="https://example.test/a", language="en", channels=layout).channels == layout
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
("value", "expected"),
|
||||
[("5.1", 5.1), ("2ch", 2.0), ("2", 2.0), ("2.0", 2.0), ("A000", 2.0), ("F801", 5.1), (6, 6.0)],
|
||||
|
||||
Reference in New Issue
Block a user