def cache(t=my_test): c = FixtureCache() t.resolver.resolve_args(c) return c
def _(f=exception_raising_fixture): cache = FixtureCache() cache.cache_fixture(f, "test_id") assert cache.get(f.key, Scope.Test, "test_id") == f
def cache(t=my_test): c = FixtureCache() t.resolver.resolve_args(c) return c
def _(f=exception_raising_fixture): cache = FixtureCache() cache.cache_fixture(f, "test_id") assert cache.get(f.key, Scope.Test, "test_id") == f