From 0ec9edb97175f64e269b87a91c29f5448b7bb905 Mon Sep 17 00:00:00 2001 From: Leigh Morresi <275001+dgtlmoon@users.noreply.github.com> Date: Sat, 27 Feb 2021 20:30:36 +0100 Subject: [PATCH] Remove erroneous extra liveserver setup --- backend/tests/test_ignore_text.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/backend/tests/test_ignore_text.py b/backend/tests/test_ignore_text.py index fe65be75..eaaf8429 100644 --- a/backend/tests/test_ignore_text.py +++ b/backend/tests/test_ignore_text.py @@ -6,18 +6,6 @@ from urllib.request import urlopen import pytest -def test_setup_liveserver(live_server): - @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 - - # Unit test of the stripper # Always we are dealing in utf-8 def test_strip_text_func():