diff --git a/marconi/tests/storage/base.py b/marconi/tests/storage/base.py index f604596e8..f437f6174 100644 --- a/marconi/tests/storage/base.py +++ b/marconi/tests/storage/base.py @@ -29,7 +29,7 @@ class ControllerBaseTest(suite.TestSuite): if not self.driver_class: self.skipTest("No driver class specified") - if not isinstance(self.controller_class, self.controller_base_class): + if not issubclass(self.controller_class, self.controller_base_class): self.skipTest("%s is not an instance of %s. Tests not supported" % (self.controller_class, self.controller_base_class))