tests: harden test_config_error

This commit is contained in:
Daniel Hahler
2018-11-09 01:31:53 +01:00
parent 401a3cd1bc
commit a0890f98d8
2 changed files with 6 additions and 1 deletions

View File

@@ -2,3 +2,7 @@ def pytest_configure(config):
import pytest
raise pytest.UsageError("hello")
def pytest_unconfigure(config):
print("pytest_unconfigure_called")