def connect(self, dsn): self.dsn = dsn self.session = models.connect(self.dsn)
def initializeDatabase(dsn): models.connect(dsn) models.init()
def test(self): models.connect(dbUrl) models.init()