From b9af1c375b772d5ab0427b3c4f84e24534f9e11e Mon Sep 17 00:00:00 2001 From: Jesse Bannon Date: Mon, 29 Dec 2025 23:21:31 -0800 Subject: [PATCH] remove bad test --- tests/unit/config/test_preset.py | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/tests/unit/config/test_preset.py b/tests/unit/config/test_preset.py index cd4f2b17..a42439be 100644 --- a/tests/unit/config/test_preset.py +++ b/tests/unit/config/test_preset.py @@ -317,26 +317,3 @@ class TestPreset: "overrides": {name: "ack"}, }, ) - - def test_preset_error_added_url_variable_cannot_resolve(self, config_file, output_options): - with pytest.raises( - ValidationException, - match=re.escape( - "variable the_bad_one cannot use the variables subtitles_ext because it " - "depends on other variables that are computed later in execution" - ), - ): - _ = Preset( - config=config_file, - name="test", - value={ - "download": { - "url": "youtube.com/watch?v=123abc", - "variables": {"the_bad_one": "{subtitles_ext}"}, - }, - "subtitles": { - "embed_subtitles": True, - }, - "output_options": {"output_directory": "dir", "file_name": "acjk"}, - }, - )