remove bad test
This commit is contained in:
parent
6b6031b77e
commit
b9af1c375b
1 changed files with 0 additions and 23 deletions
|
|
@ -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"},
|
|
||||||
},
|
|
||||||
)
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue