From 6d22b47ca56122ab819b99d2195b062d1bc7d615 Mon Sep 17 00:00:00 2001 From: rishi2019194 <58341663+rishi2019194@users.noreply.github.com> Date: Tue, 17 Oct 2023 13:05:25 -0400 Subject: [PATCH] Try running util tests --- test/test_util.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/test_util.py b/test/test_util.py index 32e8ceac4..11d8328c0 100644 --- a/test/test_util.py +++ b/test/test_util.py @@ -5,10 +5,12 @@ import sys import unittest import warnings +from pathlib import Path import pandas as pd -sys.path.append("../") +sys.path.append(str(Path(__file__).resolve().parents[1])) #pylint: disable=wrong-import-position -from src.recommenderapp.utils import create_colored_tags, beautify_feedback_data, create_movie_genres, send_email_to_user +from src.recommenderapp.utils import create_colored_tags, \ + beautify_feedback_data, create_movie_genres, send_email_to_user #pylint: enable=wrong-import-position warnings.filterwarnings("ignore")