Skip to content

Commit

Permalink
Updated test scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
ciioprof0 committed Aug 7, 2024
1 parent dc632bc commit 2a0381c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@
"browed",
"Clex",
"colour",
"csvfile",
"falutin",
"fetchone",
"filmable",
"filtertipped",
"finsg",
Expand Down
2 changes: 1 addition & 1 deletion tests/test_doc_scrpper.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = '''
Expand Down
4 changes: 2 additions & 2 deletions tests/test_gen_clex_uuid.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand All @@ -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"
}

Expand Down

0 comments on commit 2a0381c

Please sign in to comment.