diff options
author | Florian Bruhin <me@the-compiler.org> | 2021-03-12 19:10:25 +0100 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2021-03-12 19:10:25 +0100 |
commit | 903e5e294301d8551c06e6f918b726a20a1d391c (patch) | |
tree | c343614d514bcad89e1bb0d795bcd3c231d3ddbe /tests/end2end/fixtures/quteprocess.py | |
parent | 03d0fff5dd81d58f4a1cc152e841320c6e751cb6 (diff) | |
download | qutebrowser-903e5e294301d8551c06e6f918b726a20a1d391c.tar.gz qutebrowser-903e5e294301d8551c06e6f918b726a20a1d391c.zip |
tests: Further improve and stabilize screenshots
Diffstat (limited to 'tests/end2end/fixtures/quteprocess.py')
-rw-r--r-- | tests/end2end/fixtures/quteprocess.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/end2end/fixtures/quteprocess.py b/tests/end2end/fixtures/quteprocess.py index 0106572a6..ef8847844 100644 --- a/tests/end2end/fixtures/quteprocess.py +++ b/tests/end2end/fixtures/quteprocess.py @@ -926,8 +926,8 @@ class QuteProc(testprocess.Process): # Rendering might not be completed yet... time.sleep(0.5) - raise ValueError( - f"Pixel probing for {probe_color} failed (got {probed_color} on last try)") + # Using assert again for pytest introspection + assert probed_color == probe_color, "Color probing failed, values on last try:" def press_keys(self, keys): """Press the given keys using :fake-key.""" |