mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-02 22:48:12 +08:00
trying to fix the settings problem for travis
This commit is contained in:
@@ -11,7 +11,7 @@ class PyTest(Command):
|
|||||||
user_options = []
|
user_options = []
|
||||||
|
|
||||||
def initialize_options(self):
|
def initialize_options(self):
|
||||||
os.environ['DJANGO_SETTINGS_MODULE'] = 'tests.settings'
|
os.environ['DJANGO_SETTINGS_MODULE'] = 'django_q.tests.settings'
|
||||||
|
|
||||||
def finalize_options(self):
|
def finalize_options(self):
|
||||||
pass
|
pass
|
||||||
|
|||||||
Reference in New Issue
Block a user