Revision 65f480f5 snf-common/synnefo/settings/test.py

b/snf-common/synnefo/settings/test.py
10 10
    'default': {
11 11
        'ENGINE': 'django.db.backends.sqlite3',
12 12
        'NAME': '/tmp/synnefo_test_db.sqlite',
13
        'TEST_NAME': '/tmp/synnefo_test_db.sqlite',
13 14
    }
14 15
}
15 16

  
......
37 38
        'USER': 'postgres',
38 39
        'PORT': '5432',
39 40
    }
40
    PITHOS_BACKEND_DB_CONNECTION = (
41
        'postgresql://%(USER)s@:%(PORT)s/%(TEST_NAME)s' % DATABASES['default'])
42 41
elif SNF_TEST_PITHOS_SQLITE_MODULE:
43 42
    PITHOS_BACKEND_POOL_ENABLED = False
44 43
    PITHOS_BACKEND_DB_MODULE = 'pithos.backends.lib.sqlite'
45
    PITHOS_BACKEND_DB_CONNECTION = DATABASES['default']['NAME']
46 44

  
47 45
if SNF_TEST_PITHOS_UPDATE_MD5:
48 46
    PITHOS_UPDATE_MD5 = True

Also available in: Unified diff