diff options
Diffstat (limited to 'web-server/conftest.py')
| -rw-r--r-- | web-server/conftest.py | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/web-server/conftest.py b/web-server/conftest.py deleted file mode 100644 index 1f4831b8..00000000 --- a/web-server/conftest.py +++ /dev/null @@ -1,15 +0,0 @@ -""" -Configuration file for all unit tests. -""" -import pytest - -from main import FLASK_CORE_APP - - -@pytest.fixture -def client(): - """Returns a Flask API client to interact with.""" - FLASK_CORE_APP.config['TESTING'] = True - - with FLASK_CORE_APP.test_client() as client: - yield client |
