We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e39f658 + cce5853 commit 196678bCopy full SHA for 196678b
tests/testnet/aio/conftest.py
@@ -23,6 +23,12 @@ def event_loop():
23
loop.close()
24
25
26
+@pytest.fixture(scope="session", autouse=True)
27
+def set_random_seed():
28
+ """Set a fixed seed for random number generation to ensure reproducibility."""
29
+ random.seed(42)
30
+ yield
31
+
32
@pytest.fixture(scope="session")
33
async def bitshares_instance(bitshares_testnet, private_keys, event_loop):
34
"""Initialize BitShares instance connected to a local testnet."""
0 commit comments