diff options
author | Ted Morse <ekpneo@users.noreply.github.com> | 2020-11-29 10:54:38 -0800 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2020-12-03 14:44:35 +0100 |
commit | f4b68ee3831cf39a3ddbf97b958afb1bfee08eb5 (patch) | |
tree | 03d228230a48fa5b8a764edad416d803ed1aac58 | |
parent | d634c5f37f961c0f0cfc5ad0537dcb9ca381dc7e (diff) | |
download | qutebrowser-f4b68ee3831cf39a3ddbf97b958afb1bfee08eb5.tar.gz qutebrowser-f4b68ee3831cf39a3ddbf97b958afb1bfee08eb5.zip |
Cleanup invocation test for colorscheme
Took @The-Compiler's suggestions and removed unnecessary cruft from the
colorscheme invocation test.
(cherry picked from commit 6d01062305e554f3d0e8989f0ba45c998c425ef1)
-rw-r--r-- | tests/end2end/test_invocations.py | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/tests/end2end/test_invocations.py b/tests/end2end/test_invocations.py index 7fc38cdc4..03b6b798f 100644 --- a/tests/end2end/test_invocations.py +++ b/tests/end2end/test_invocations.py @@ -417,11 +417,6 @@ def test_preferred_colorscheme(request, quteproc_new): ] quteproc_new.start(args) - quteproc_new.open_path("qute://version") - quteproc_new.send_cmd(':jseval --world main ' + quteproc_new.send_cmd(':jseval ' 'matchMedia("(prefers-color-scheme: dark)").matches') - line = quteproc_new.wait_for(message='True') - line.expected = True - - quteproc_new.send_cmd(':quit') - quteproc_new.wait_for_quit() + quteproc_new.wait_for(message='True') |