tests: harden test_config_error
This commit is contained in:
@@ -2,3 +2,7 @@ def pytest_configure(config):
|
||||
import pytest
|
||||
|
||||
raise pytest.UsageError("hello")
|
||||
|
||||
|
||||
def pytest_unconfigure(config):
|
||||
print("pytest_unconfigure_called")
|
||||
|
||||
Reference in New Issue
Block a user