Esempio n. 1
0
 def test_returns_connection(self):
     database_location = "dialect://HOST"
     connection = connect_to_sequencescape(database_location)
     self.assertIsInstance(connection, Connection)
Esempio n. 2
0
 def test_with_valid_database_url(self):
     database_location, dialect = create_stub_database()
     connect_to_sequencescape("%s:///%s" % (dialect, database_location))