1
0
mirror of https://github.com/django/django.git synced 2025-02-01 05:10:04 +00:00

19 lines
313 B
Python
Raw Normal View History

"""
Test the globbing of INSTALLED_APPS.
>>> import os, sys
>>> old_sys_path = sys.path
>>> sys.path.append(os.path.dirname(os.path.abspath(__file__)))
>>> from django.conf import Settings
>>> s = Settings('test_settings')
>>> s.INSTALLED_APPS
['parent.app', 'parent.app1']
>>> sys.path = old_sys_path
"""