diff options
author | Florian Bruhin <me@the-compiler.org> | 2022-07-05 12:27:06 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2022-07-05 12:27:06 +0200 |
commit | a16aa959bbc81ddb8ed8f2b945be2cf10251fee8 (patch) | |
tree | 20aba7ff99d733c127b1e4627daf7a5809272082 | |
parent | ed35a2c2771015b74735c5e4235b9b4c27526d42 (diff) | |
download | qutebrowser-a16aa959bbc81ddb8ed8f2b945be2cf10251fee8.tar.gz qutebrowser-a16aa959bbc81ddb8ed8f2b945be2cf10251fee8.zip |
tests: Fix broken BDD definition
This happened to work before this commit:
https://github.com/pytest-dev/pytest-bdd/commit/7cd7b40df30f3951e89642608732794dfe11d714
Because the "command" argument was still defined from the previous
"And I run ..." step.
-rw-r--r-- | tests/end2end/features/conftest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/end2end/features/conftest.py b/tests/end2end/features/conftest.py index 4504b4f20..d0caf46b9 100644 --- a/tests/end2end/features/conftest.py +++ b/tests/end2end/features/conftest.py @@ -292,7 +292,7 @@ def run_command(quteproc, server, tmpdir, command): @bdd.when(bdd.parsers.parse("I reload")) -def reload(qtbot, server, quteproc, command): +def reload(qtbot, server, quteproc): """Reload and wait until a new request is received.""" with qtbot.wait_signal(server.new_request): quteproc.send_cmd(':reload') |