diff --git a/.vscode/settings.json b/.vscode/settings.json index d3ebdd9..6371dfa 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -51,7 +51,9 @@ "browed", "Clex", "colour", + "csvfile", "falutin", + "fetchone", "filmable", "filtertipped", "finsg", diff --git a/tests/test_doc_scrpper.py b/tests/test_doc_scrpper.py index 1978cc3..092a0f9 100644 --- a/tests/test_doc_scrpper.py +++ b/tests/test_doc_scrpper.py @@ -7,7 +7,7 @@ import requests from bs4 import BeautifulSoup from unittest.mock import patch, mock_open -from ling508.app.doc_scrapper import * +from app.doc_scrapper import * # Mock HTML content for testing HTML_CONTENT = ''' diff --git a/tests/test_gen_clex_uuid.py b/tests/test_gen_clex_uuid.py index 458b5f1..cd71245 100644 --- a/tests/test_gen_clex_uuid.py +++ b/tests/test_gen_clex_uuid.py @@ -6,7 +6,7 @@ # Import the main function from gen_clex_uuid sys.path.insert(0, '../app') -from app.gen_clex_uuid import main +from ling508.app.gen_clex_uuid import main # Define test cases test_cases = [ @@ -16,7 +16,7 @@ # Mock response content mock_file_contents = { - "https://raw.githubusercontent.com/ciioprof0/stixd/03c934281777fecd3edb1d8622310bbf0839c17d/tests/test_clex.pl": "mock content for ciioprof0 test_clex.pl", + "https://raw.githubusercontent.com/ciioprof0/stixd/03c934281777fecd3edb1d8622310bbf0839c17d/tests/test_clex.pl": "mock content for test_clex.pl", "https://raw.githubusercontent.com/Attempto/Clex/20960a5ce07776cb211a8cfb25dc8c81fcdf25e2/clex_lexicon.pl": "mock content for Attempto clex_lexicon.pl" }