diff --git a/blog/tests.py b/blog/tests.py index fbc52b5..ebc92f3 100644 --- a/blog/tests.py +++ b/blog/tests.py @@ -205,6 +205,6 @@ class ArticleTest(TestCase): call_command("sync_user_avatar") call_command("build_search_words") - from documents import ELASTICSEARCH_ENABLED + from blog.documents import ELASTICSEARCH_ENABLED if ELASTICSEARCH_ENABLED: call_command("build_index")