def test_factory_params(self, examples, an_example): examples.make_factory("test", an_example) factory = examples.get_factory("test") obj = factory(c=3) assert obj["c"] == 3
def test_make_and_get_factory(self, examples, an_example): examples.make_factory("test", an_example) factory = examples.get_factory("test") assert factory() == an_example