test(throttle): Match modified assertion text
If it were my test, I'd only make assertions on the spirit of error message text necessary to confirm it's the right error message and not another.
This commit is contained in:
parent
bbb6603431
commit
d52d8bcc0a
1 changed files with 4 additions and 2 deletions
|
|
@ -271,8 +271,10 @@ class TestResolutionAssert:
|
|||
)
|
||||
|
||||
expected_message = (
|
||||
"Entry Mock Entry 20-3 downloaded at a low resolution (640x360) which is classified as throttle. "
|
||||
"Stopping additional downloads. Disable using the override variable `enable_resolution_assert: False`"
|
||||
"Entry Mock Entry 20-3 downloaded at a low resolution (640x360), "
|
||||
"you've probably been throttled. "
|
||||
"Stopping further downloads, wait a few hours and try again. "
|
||||
"Disable using the override variable `enable_resolution_assert: False`"
|
||||
)
|
||||
|
||||
with (
|
||||
|
|
|
|||
Loading…
Reference in a new issue