mirror of
https://github.com/jazzband/dj-database-url.git
synced 2026-05-08 15:34:48 +00:00
Fixing test to actually use the result of the parse
This commit is contained in:
parent
0a7273be5f
commit
4cb5f889bf
1 changed files with 2 additions and 2 deletions
|
|
@ -65,14 +65,14 @@ class DatabaseTestSuite(unittest.TestCase):
|
|||
|
||||
def test_empty_sqlite_url(self):
|
||||
url = 'sqlite://'
|
||||
dj_database_url.parse(url)
|
||||
url = dj_database_url.parse(url)
|
||||
|
||||
assert url['ENGINE'] == 'django.db.backends.sqlite3'
|
||||
assert url['NAME'] == ':memory:'
|
||||
|
||||
def test_memory_sqlite_url(self):
|
||||
url = 'sqlite://:memory:'
|
||||
dj_database_url.parse(url)
|
||||
url = dj_database_url.parse(url)
|
||||
|
||||
assert url['ENGINE'] == 'django.db.backends.sqlite3'
|
||||
assert url['NAME'] == ':memory:'
|
||||
|
|
|
|||
Loading…
Reference in a new issue