mirror of
https://github.com/jazzband/django-configurations.git
synced 2026-03-16 22:20:27 +00:00
add *.pyc to .gitignore; remove repeated INSTALLED_APPS from test_project.settings; fix check dj-database-url returned None values to empty string
This commit is contained in:
parent
035c3301a8
commit
8a8f99ab68
3 changed files with 6 additions and 19 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -4,4 +4,5 @@ docs/_build
|
|||
*.egg
|
||||
test.db
|
||||
build/
|
||||
.tox/
|
||||
.tox/
|
||||
*.pyc
|
||||
|
|
|
|||
|
|
@ -160,20 +160,6 @@ class Base(Configuration):
|
|||
}
|
||||
}
|
||||
|
||||
INSTALLED_APPS = (
|
||||
'django.contrib.auth',
|
||||
'django.contrib.contenttypes',
|
||||
'django.contrib.sessions',
|
||||
'django.contrib.sites',
|
||||
'django.contrib.messages',
|
||||
'django.contrib.staticfiles',
|
||||
# Uncomment the next line to enable the admin:
|
||||
# 'django.contrib.admin',
|
||||
# Uncomment the next line to enable admin documentation:
|
||||
# 'django.contrib.admindocs',
|
||||
'configurations',
|
||||
)
|
||||
|
||||
|
||||
class Debug(Base):
|
||||
YEAH = True
|
||||
|
|
|
|||
|
|
@ -246,11 +246,11 @@ class ValueTests(TestCase):
|
|||
self.assertEqual(value.setup('DATABASE_URL'), {
|
||||
'default': {
|
||||
'ENGINE': 'django.db.backends.sqlite3',
|
||||
'HOST': None,
|
||||
'HOST': '',
|
||||
'NAME': ':memory:',
|
||||
'PASSWORD': None,
|
||||
'PORT': None,
|
||||
'USER': None,
|
||||
'PASSWORD': '',
|
||||
'PORT': '',
|
||||
'USER': '',
|
||||
}})
|
||||
|
||||
def test_email_url_value(self):
|
||||
|
|
|
|||
Loading…
Reference in a new issue