# HG changeset patch # User Martin Bornhold # Date 2016-09-27 07:48:42 # Node ID d230adec9a9976a8311239040924a50e6f80607d # Parent cf699af2f344bdc3e52b9874cd71f4a8d3a7f744 tests: Fix tests which need the DB to run. diff --git a/rhodecode/tests/lib/middleware/test_simplevcs.py b/rhodecode/tests/lib/middleware/test_simplevcs.py --- a/rhodecode/tests/lib/middleware/test_simplevcs.py +++ b/rhodecode/tests/lib/middleware/test_simplevcs.py @@ -280,6 +280,7 @@ class TestShadowRepoExposure(object): controller.vcs_repo_name) +@pytest.mark.usefixtures('db') @mock.patch.multiple( 'Pyro4.config', SERVERTYPE='multiplex', POLLTIMEOUT=0.01) class TestGenerateVcsResponse: