1 from nose.tools import *
2 import wiki.models as models
3 import shutil, tempfile
7 self.dirpath = tempfile.mkdtemp(prefix = 'nosetest_')
10 shutil.rmtree(self.dirpath)
12 class TestDocumentStorage(TestStorageBase):
14 def test_storage_empty(self):
15 storage = models.DocumentStorage(self.dirpath)
16 eq_(storage.all(), [])