From 94c98588b8d0009cf11e460c85c9a96a51104cb2 Mon Sep 17 00:00:00 2001 From: Simon Conseil Date: Mon, 20 Apr 2015 00:05:07 +0200 Subject: [PATCH] Don't share the settings fixture between tests. --- tests/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/conftest.py b/tests/conftest.py index c47a867..85c7b32 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -8,7 +8,7 @@ from sigal.settings import read_settings CURRENT_DIR = os.path.abspath(os.path.dirname(__file__)) -@pytest.fixture(scope='session') +@pytest.fixture def settings(): """Read the sample config file.""" return read_settings(os.path.join(CURRENT_DIR, 'sample', 'sigal.conf.py'))