Skip to content

Commit

Permalink
Changed test conftest to not make random results openclimatefix#119
Browse files Browse the repository at this point in the history
Changed test values from random to non-deterministic using a seed value over the conftest.py file, then some of the != asserts in tests below could be stronger = asserts
  • Loading branch information
priyanshubajaj committed Jan 7, 2025
1 parent 9805611 commit b0f9f04
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

log = logging.getLogger(__name__)

random.seed(42)

@pytest.fixture(scope="session")
def engine():
Expand Down

0 comments on commit b0f9f04

Please sign in to comment.