Commit 268b04f867a3ab5a58099aeef023dea72b2ecb98

Authored by Etienne Pallier
1 parent d51386bf
Exists in dev

update src/pyros/settings

Showing 1 changed file with 5 additions and 0 deletions   Show diff stats
src/pyros/settings.py
... ... @@ -134,6 +134,8 @@ SIMULATOR = False
134 134 # FOR SIMULATOR (and TESTS)
135 135 CELERY_TEST = False
136 136  
  137 +MAJORDOME_TEST = False
  138 +
137 139 # CELERY_TEST==False ==> DEFAULT (NORMAL) RUN MODE, use pyros (normal) database
138 140 if not CELERY_TEST:
139 141 if not MYSQL:
... ... @@ -164,6 +166,9 @@ else:
164 166 }
165 167 }
166 168  
  169 +if MAJORDOME_TEST: DATABASES['default']['NAME'] = 'pyros_test'
  170 +
  171 +
167 172 AUTH_USER_MODEL = 'common.PyrosUser'
168 173  
169 174 # Password validation
... ...