From fe1d141b345f3792c3fd736b575f4489ec85e927 Mon Sep 17 00:00:00 2001 From: Markus Unterwaditzer Date: Sat, 29 Mar 2014 13:19:17 +0100 Subject: [PATCH] This doesn't work very well if there's a collection called "test". --- tests/storage/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/storage/__init__.py b/tests/storage/__init__.py index 09e978a..e9470a8 100644 --- a/tests/storage/__init__.py +++ b/tests/storage/__init__.py @@ -118,7 +118,7 @@ class StorageTests(object): def main(): for s in d: - if not s.collection.startswith('test'): + if s.collection not in collections: # ownCloud has many more collections, as on-the-fly # creation doesn't really work there. Skip those # collections, as they are not relevant to us.