From 6addcc4be559feb04de2e7b5702c386d4d27a85d Mon Sep 17 00:00:00 2001 From: segunUb18 Date: Tue, 10 Sep 2024 04:25:16 +0100 Subject: [PATCH] :bug: fix import related issue --- tests/student/test_student_login.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/student/test_student_login.py b/tests/student/test_student_login.py index 6829ced..2c36f3b 100644 --- a/tests/student/test_student_login.py +++ b/tests/student/test_student_login.py @@ -1,5 +1,8 @@ import pytest +import os +import sys import json +sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '../../'))) from unittest.mock import patch, MagicMock from app import create_app, db from api.v2.models import Student