diff --git a/misinformation/test/conftest.py b/misinformation/test/conftest.py index e7869bc..cb42774 100644 --- a/misinformation/test/conftest.py +++ b/misinformation/test/conftest.py @@ -25,6 +25,8 @@ def get_testdict(get_path): "IMG_2809": {"filename": get_path + "IMG_2809.png"}, } return testdict + + @pytest.fixture def get_test_my_dict(get_path): test_my_dict = { diff --git a/misinformation/test/test_multimodal_search.py b/misinformation/test/test_multimodal_search.py index 2efe2ad..fce3d60 100644 --- a/misinformation/test/test_multimodal_search.py +++ b/misinformation/test/test_multimodal_search.py @@ -445,8 +445,7 @@ def test_parsing_images( @pytest.mark.long -def test_itm(get_test_my_dict ,get_path): - +def test_itm(get_test_my_dict, get_path): search_query3 = [ {"text_input": "A bus"}, {"image": get_path + "IMG_3758.png"}, @@ -492,7 +491,6 @@ def test_itm(get_test_my_dict ,get_path): @pytest.mark.long def test_itm_blip2_coco(get_test_my_dict, get_path): - search_query3 = [ {"text_input": "A bus"}, {"image": get_path + "IMG_3758.png"},