tests: Fix quteproc.after_test() fixture.
It accidentally was named wrong, which caused it to never be executed. That means the teardown log wasn't actually checked for errors.
This commit is contained in:
parent
64730f566f
commit
62f11273c5
@ -22,4 +22,4 @@
|
||||
"""Things needed for integration testing."""
|
||||
|
||||
from webserver import httpbin, httpbin_after_test
|
||||
from quteprocess import quteproc
|
||||
from quteprocess import quteproc, quteproc_after_test
|
||||
|
@ -238,7 +238,7 @@ def quteproc(qapp, httpbin):
|
||||
|
||||
|
||||
@pytest.yield_fixture(autouse=True)
|
||||
def httpbin_after_test(quteproc):
|
||||
def quteproc_after_test(quteproc):
|
||||
"""Fixture to run cleanup tasks after each test."""
|
||||
yield
|
||||
quteproc.after_test()
|
||||
|
Loading…
Reference in New Issue
Block a user