remove bad test

This commit is contained in:
Jesse Bannon 2025-12-29 23:21:31 -08:00
parent 6b6031b77e
commit b9af1c375b

View file

@ -317,26 +317,3 @@ class TestPreset:
"overrides": {name: "ack"}, "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"},
},
)