From 02997b2522b9c66072b16f1425c02e81e0085e3c Mon Sep 17 00:00:00 2001 From: Fabian Mastenbroek Date: Tue, 14 Jul 2020 21:10:56 +0200 Subject: Rename web-server to API This change renames the web-server component to API in order to be more descriptive of its role. The OpenDC API bridges between the frontend on one side and the database and simulator on the other side. --- web-server/conftest.py | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 web-server/conftest.py (limited to 'web-server/conftest.py') 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 -- cgit v1.2.3