# HG changeset patch # User Marcin Kuzminski # Date 2017-11-17 14:49:06 # Node ID b349bab9b505c74248125aec6ff492e66f297141 # Parent b9736a2a659ee8028acc5f0323448215f0273fd1 pytest: rc_fixture should be module level. diff --git a/rhodecode/tests/plugin.py b/rhodecode/tests/plugin.py --- a/rhodecode/tests/plugin.py +++ b/rhodecode/tests/plugin.py @@ -1810,7 +1810,7 @@ def disable_anonymous_user(request, base set_anonymous_access(True) -@pytest.fixture +@pytest.fixture(scope='module') def rc_fixture(request): return Fixture()