This doesn't work very well if there's a collection called "test".

This commit is contained in:
Markus Unterwaditzer 2014-03-29 13:19:17 +01:00
parent 577ab54025
commit fe1d141b34

View file

@ -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.