Skip to content

Conversation

@allrob23
Copy link
Contributor

This PR introduces a fixed random.seed(42) in the conftest.py to ensure deterministic behavior for tests that utilize Python's random module.

The change addresses variability in several tests, which rely on random operations. Without a fixed seed, these tests could produce inconsistent results across runs, complicating debugging and issue reproduction. By setting the seed at the start of the test session, this modification enhances test consistency and reliability, ensuring reproducible outcomes.

@CLAassistant
Copy link

CLAassistant commented May 16, 2025

CLA assistant check
All committers have signed the CLA.

@allrob23 allrob23 changed the title add seed for random in fixture add seed for random in test fixture May 16, 2025
@xeroc xeroc merged commit 196678b into bitshares:master Jun 4, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants