chore: fixing tests with seed determinism

This commit is contained in:
2026-01-30 13:57:40 +01:00
parent 4c7d9362af
commit 26abff5864

View File

@@ -6,6 +6,7 @@ from procesing.steps import (
)
def test_compute_demand(pipeline_context):
random.seed(42) # deterministic test
step = ComputeDemandStep(context=pipeline_context)
# Test with normal interaction data
@@ -26,6 +27,7 @@ def test_compute_demand(pipeline_context):
def test_compute_demand_skewed(pipeline_context):
random.seed(42) # deterministic test
step = ComputeDemandStep(context=pipeline_context)
# Test with normal interaction data