Revision 565414a9 snf-pithos-app/pithos/api/test/__init__.py
b/snf-pithos-app/pithos/api/test/__init__.py | ||
---|---|---|
102 | 102 |
'django.db.backends.oracle': 'oracle'} |
103 | 103 |
|
104 | 104 |
|
105 |
def prepate_db_connection():
|
|
105 |
def prepare_db_connection():
|
|
106 | 106 |
"""Build pithos backend connection string from django default database""" |
107 | 107 |
|
108 | 108 |
db = settings.DATABASES['default'] |
... | ... | |
141 | 141 |
def setup_databases(self, **kwargs): |
142 | 142 |
old_names, mirrors = super(PithosTestSuiteRunner, |
143 | 143 |
self).setup_databases(**kwargs) |
144 |
prepate_db_connection()
|
|
144 |
prepare_db_connection()
|
|
145 | 145 |
return old_names, mirrors |
146 | 146 |
|
147 | 147 |
def teardown_databases(self, old_config, **kwargs): |
Also available in: Unified diff