1 import wiki.models as models
8 self.dirpath = tempfile.mkdtemp(prefix='redakcja_test_')
11 shutil.rmtree(self.dirpath)
14 class TestDocumentStorage(TestStorageBase):
16 def test_storage_empty(self):
17 storage = models.DocumentStorage(self.dirpath)
18 self.assertEqual(storage.all(), [])