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:
Ross Patterson 2025-08-21 00:27:25 -07:00
parent bbb6603431
commit d52d8bcc0a
No known key found for this signature in database
GPG key ID: 2EFF7CCE6828E359

View file

@ -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 (