diff --git a/marconi/tests/storage/base.py b/marconi/tests/storage/base.py index 820bdef30..a91c17c8e 100644 --- a/marconi/tests/storage/base.py +++ b/marconi/tests/storage/base.py @@ -200,7 +200,7 @@ class ClaimControllerTest(ControllerBaseTest): tenant=self.tenant) def tearDown(self): - self.queue_controller.delete(self.queue_name) + self.queue_controller.delete(self.queue_name, tenant=self.tenant) super(ClaimControllerTest, self).tearDown() def test_claim_lifecycle(self): diff --git a/marconi/tests/storage/test_impl_sqlite.py b/marconi/tests/storage/test_impl_sqlite.py index 85665db4b..23f0fa5fb 100644 --- a/marconi/tests/storage/test_impl_sqlite.py +++ b/marconi/tests/storage/test_impl_sqlite.py @@ -26,3 +26,8 @@ class SQliteQueueTests(base.QueueControllerTest): class SQliteMessageTests(base.MessageControllerTest): driver_class = sqlite.Driver controller_class = controllers.Message + + +class SQliteClaimTests(base.ClaimControllerTest): + driver_class = sqlite.Driver + controller_class = controllers.Claim