1 # This file is part of FNP-Redakcja, licensed under GNU Affero GPLv3 or later.
2 # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
4 import wiki.models as models
11 self.dirpath = tempfile.mkdtemp(prefix='redakcja_test_')
14 shutil.rmtree(self.dirpath)
17 class TestDocumentStorage(TestStorageBase):
19 def test_storage_empty(self):
20 storage = models.DocumentStorage(self.dirpath)
21 self.assertEqual(storage.all(), [])