summaryrefslogtreecommitdiffstats
path: root/tests/conftest.py
diff options
context:
space:
mode:
authorAndrew Godwin2022-12-05 19:21:00 -0700
committerAndrew Godwin2022-12-05 19:24:46 -0700
commita31f676b46a4d904954b8b7227dcde779aedca54 (patch)
treed00fa3e022ff08f154f431777ba37e2f43127fd6 /tests/conftest.py
parentda9a3d853eda1173ac8913908d512fb9babbd136 (diff)
downloadtakahe-a31f676b46a4d904954b8b7227dcde779aedca54.tar.gz
takahe-a31f676b46a4d904954b8b7227dcde779aedca54.tar.bz2
takahe-a31f676b46a4d904954b8b7227dcde779aedca54.zip
Policy pages and signup tests.
Fixes #113
Diffstat (limited to 'tests/conftest.py')
-rw-r--r--tests/conftest.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/conftest.py b/tests/conftest.py
index a3feaca..80622f0 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -60,7 +60,10 @@ def config_system(keypair):
system_actor_private_key=keypair["private_key"],
system_actor_public_key=keypair["public_key"],
)
+ Config.__forced__ = True
yield Config.system
+ Config.__forced__ = False
+ del Config.system
@pytest.fixture
@@ -126,7 +129,7 @@ def remote_identity() -> Identity:
@pytest.fixture
-def stator_runner(config_system) -> StatorRunner:
+def stator(config_system) -> StatorRunner:
"""
Return an initialized StatorRunner for tests that need state transitioning
to happen.