From 66be95ecc65c70c6ca225c59d6569e6c06782e8a Mon Sep 17 00:00:00 2001 From: Leigh Morresi <275001+dgtlmoon@users.noreply.github.com> Date: Sat, 27 Feb 2021 09:08:25 +0100 Subject: [PATCH] Remove liveserver, doesnt belong here --- backend/tests/conftest.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/backend/tests/conftest.py b/backend/tests/conftest.py index 2edd3cd0..f026f22c 100644 --- a/backend/tests/conftest.py +++ b/backend/tests/conftest.py @@ -40,14 +40,6 @@ def app(request): # This is fine in the case of a failure. pass - @live_server.app.route('/test-endpoint') - def test_endpoint(): - # Tried using a global var here but didn't seem to work, so reading from a file instead. - with open("test-datastore/output.txt", "r") as f: - return f.read() - - live_server.start() - assert 1 == 1 request.addfinalizer(teardown)