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:
Florian Bruhin 2015-11-09 07:40:25 +01:00
parent 64730f566f
commit 62f11273c5
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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()