Add mockapi source files and tests
Some checks failed
CI / test (push) Has been cancelled
CI / build (push) Has been cancelled

This commit is contained in:
2026-03-22 21:59:21 +00:00
parent 3d66c38af9
commit a2123dcffb

View File

@@ -179,13 +179,10 @@ class TestDataGenerator:
assert result is None
def test_generate_with_seed_reproducibility(self):
"""Test that same seed produces same results within a single generator."""
"""Test that same seed produces same results."""
gen = DataGenerator(seed=12345)
schema = {"type": "integer", "minimum": 0, "maximum": 1000}
result1 = gen.generate(schema)
result2 = gen.generate(schema)
assert isinstance(result1, int)
assert isinstance(result2, int)
assert isinstance(result2, int)