[Django]-Django running unittest fail while one of my app named "apps", but "runserver" works

4👍

Your project home shouldn’t have an init.py file, unittest mistakes your project home for a module and tries to load the tests from there but fails (because it has the same name as the app in INSTALLED_APPS).

Leave a comment