bdd: Wait a bit in "No crash should happen" step

If we don't do this, the qutebrowser process will be terminated and exit
before it actually has a chance to crash.

See #1510
This commit is contained in:
Florian Bruhin 2016-05-20 16:03:52 +02:00
parent 7898507775
commit 107934e4e1

View File

@ -330,7 +330,7 @@ def no_crash():
This is actually a NOP as a crash is already checked in the log.
"""
pass
time.sleep(0.5)
@bdd.then(bdd.parsers.parse("the header {header} should be set to {value}"))