diff options
author | W. Trevor King <wking@drexel.edu> | 2010-01-18 07:53:59 -0500 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2010-01-18 07:53:59 -0500 |
commit | 8688804803235e1ca472526ed1904599bfba8e6c (patch) | |
tree | 6d919c3171a26fd4d32cdca4b611d39a2f7fa873 /libbe | |
parent | 2ab53616af78a0f84b768f65c7a5dbb0c6ed9492 (diff) | |
download | bugseverywhere-8688804803235e1ca472526ed1904599bfba8e6c.tar.gz |
Add VersionedStorageTestCases in make_versioned_storage_testcase_subclasses
Diffstat (limited to 'libbe')
-rw-r--r-- | libbe/storage/base.py | 7 |
1 files 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__ |