Add special fixture for seeding test
This makes the seeding test independent of the whole fixtures directory,
which caused changes in the test for every change in the fixtures,
basically.
@@ -25,6 +25,7 @@ def fixture_dir():
"..",
"..",
"fixtures",
+ "seeding",
)
@@ -36,7 +37,7 @@ def test_singleton():
@pytest.mark.parametrize(
"type_, result",
- [pytest.param("str", 29), pytest.param("int", 6), pytest.param("float", 1)],
+ [pytest.param("str", 2), pytest.param("int", 2), pytest.param("float", 2)],
)
def test_collect_constants(type_, result, seeding, fixture_dir):
constants = seeding.collect_constants(fixture_dir)
