summaryrefslogtreecommitdiff
path: root/conftest.py
diff options
context:
space:
mode:
Diffstat (limited to 'conftest.py')
-rw-r--r--conftest.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/conftest.py b/conftest.py
index 1e404c1c..05172b04 100644
--- a/conftest.py
+++ b/conftest.py
@@ -4,10 +4,9 @@ from main import FLASK_CORE_APP
@pytest.fixture
-def client(mocker):
+def client():
"""Returns a Flask API client to interact with."""
FLASK_CORE_APP.config['TESTING'] = True
- mocker.patch('opendc.util.database.DB')
with FLASK_CORE_APP.test_client() as client:
yield client