From 3430e9c6e9c16d0a81a3875716a9cb48aeb849c3 Mon Sep 17 00:00:00 2001
From: Mia Wang <yw21218@ic.ac.uk>
Date: Tue, 26 Apr 2022 20:02:28 +0100
Subject: [PATCH] fixed tests

---
 test/web_app/test_flask_routes.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/test/web_app/test_flask_routes.py b/test/web_app/test_flask_routes.py
index cbbfb558..c552abc2 100644
--- a/test/web_app/test_flask_routes.py
+++ b/test/web_app/test_flask_routes.py
@@ -1,6 +1,9 @@
 import pytest
 import unittest
-from . import react_app
+import sys
+import os
+sys.path.insert(0, os.path.abspath('.'))
+import react_app
 import json
 
 
-- 
GitLab