Fix assertion for Testutils to check on sqlite://:memory:

The current uses sqlite://memory to test a connection. This is a faulty path to
memory. Corrent path is sqlite://:memory:

Change-Id: I950521f9b9c6aa8ae73be24121a836e84e409ca2
This commit is contained in:
Seif Lotfy 2014-03-04 15:54:03 +01:00
parent e43e7e7101
commit dd19919923

View File

@ -27,7 +27,7 @@ class TestUtils(testing.TestBase):
self.assertTrue(utils.can_connect('mongodb://localhost:27017'))
def test_can_connect_suceeds_if_good_uri_sqlite(self):
self.assertTrue(utils.can_connect('sqlite://memory'))
self.assertTrue(utils.can_connect('sqlite://:memory:'))
@ddt.data(
'mongodb://localhost:27018', # wrong port