Skip to content

Commit

Permalink
Moved tests from CreeDictionary to morphodict folder
Browse files Browse the repository at this point in the history
  • Loading branch information
fbanados committed Oct 16, 2024
1 parent 6eb55fe commit 4b09e81
Show file tree
Hide file tree
Showing 54 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/crkeng/integration_tests/test_definitions.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import pytest

from CreeDictionary.API.search import search
from CreeDictionary.conftest import django_db_setup
from morphodict.conftest import django_db_setup
from morphodict.lexicon.models import Wordform, TargetLanguageKeyword

# This no-op keeps PyCharm for optimizing the required import away
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def django_db_setup(request, django_db_blocker):
"""

# If this environment variable is set, a conditional in settings.py
# should have pointed the database at CreeDictionary/test_db.sqlite3
# should have pointed the database at db/test_db.sqlite3
assert settings.USE_TEST_DB

# We’d like the output from the DB setup to go directly to stdout regardless
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from CreeDictionary.API.search import search
from CreeDictionary.API.search.util import to_sro_circumflex
from CreeDictionary.tests.conftest import lemmas
from morphodict.tests.conftest import lemmas
from morphodict.lexicon.models import Wordform


Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 4b09e81

Please sign in to comment.