From 8688804803235e1ca472526ed1904599bfba8e6c Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Mon, 18 Jan 2010 07:53:59 -0500 Subject: [PATCH] Add VersionedStorageTestCases in make_versioned_storage_testcase_subclasses --- libbe/storage/base.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libbe/storage/base.py b/libbe/storage/base.py index 0f6b095..1b0ceba 100644 --- a/libbe/storage/base.py +++ b/libbe/storage/base.py @@ -960,8 +960,11 @@ if TESTING == True: storage_testcase_classes = [ c for c in ( ob for ob in globals().values() if isinstance(ob, type)) - if issubclass(c, StorageTestCase) \ - and c.Class == Storage] + if ((issubclass(c, StorageTestCase) \ + and c.Class == Storage) + or + (issubclass(c, VersionedStorageTestCase) \ + and c.Class == VersionedStorage))] for base_class in storage_testcase_classes: testcase_class_name = storage_class.__name__ + base_class.__name__ -- 2.26.2