diff --git a/test_examples/pytest_example/tests.py b/test_examples/pytest_example/tests.py index f9f9762..d2647c4 100644 --- a/test_examples/pytest_example/tests.py +++ b/test_examples/pytest_example/tests.py @@ -48,8 +48,8 @@ def abspath(pth): abspath('sample_apps/gae'), port=PORT) - -@pytest.fixture('module', APPS) +# Create an app instance for each app in APPS +@pytest.fixture(scope='module', params=APPS.keys()) def app(request): app = APPS[request.param] app.name = request.param