diff --git a/tests/unit/wiring/string_ids/test_main_py36.py b/tests/unit/wiring/string_ids/test_main_py36.py index 6be84999..aed9364d 100644 --- a/tests/unit/wiring/string_ids/test_main_py36.py +++ b/tests/unit/wiring/string_ids/test_main_py36.py @@ -33,9 +33,9 @@ def subcontainer(): container.unwire() -@fixture -def resourceclosing_container(): - container = resourceclosing.Container() +@fixture(params=[resourceclosing.Container, resourceclosing.ContainerSingleton]) +def resourceclosing_container(request): + container = request.param() container.wire(modules=[resourceclosing]) yield container container.unwire()