1
0
mirror of https://github.com/django/django.git synced 2025-03-31 19:46:42 +00:00
Aymeric Augustin 2fef9e5375 Moved apps back in the toplevel django namespace.
Reverted 4a56a93cc458e9ab4dcab95d9f5067d4975dd1a2.
2013-12-22 11:39:55 +01:00

11 lines
318 B
Python

from django.apps import app_cache
from django.test import TestCase
class NoModelTests(TestCase):
def test_no_models(self):
"""Test that it's possible to load an app with no models.py file."""
app_config = app_cache.get_app_config('no_models')
self.assertIsNone(app_config.models_module)