Exemplo n.º 1
0
class TestSqlAlchemyPgsqlStorage(BaseTestStorageMixin, utils.TestCase):
    __test__ = has_sqlalchemy
    URL = "postgresql://*****:*****@localhost/test"

    def storage_factory(self):
        self.storage = SqlAlchemyQueuesStorage(self.URL)
        self.storage.create_structures()

    def delete_storage(self):
        self.storage = SqlAlchemyQueuesStorage(self.URL)
        self.storage.drop_structures()
Exemplo n.º 2
0
class TestSqlAlchemyPgsqlStorage(BaseTestStorageMixin, utils.TestCase):
    __test__ = has_sqlalchemy
    URL = "postgresql://*****:*****@localhost/test"

    def storage_factory(self):
        self.storage = SqlAlchemyQueuesStorage(self.URL)
        self.storage.create_structures()

    def delete_storage(self):
        self.storage = SqlAlchemyQueuesStorage(self.URL)
        self.storage.drop_structures()
Exemplo n.º 3
0
 def delete_storage(self):
     self.storage = SqlAlchemyQueuesStorage(self.URL)
     self.storage.drop_structures()
Exemplo n.º 4
0
 def storage_factory(self):
     self.storage = SqlAlchemyQueuesStorage(self.URL)
     self.storage.create_structures()
Exemplo n.º 5
0
 def delete_storage(self):
     self.storage = SqlAlchemyQueuesStorage(self.URL)
     self.storage.drop_structures()
Exemplo n.º 6
0
 def storage_factory(self):
     self.storage = SqlAlchemyQueuesStorage(self.URL)
     self.storage.create_structures()