Unobtrusive reminder about unsaved changes in document.
[redakcja.git] / apps / wiki / tests.py
index 91eccc8..6577737 100644 (file)
@@ -1,20 +1,19 @@
 from nose.tools import *
 import wiki.models as models
-import shutil, tempfile
+import shutil
+import tempfile
+
 
 class TestStorageBase:
     def setUp(self):
-        self.dirpath = tempfile.mkdtemp(prefix = 'nosetest_')
+        self.dirpath = tempfile.mkdtemp(prefix='nosetest_')
 
     def tearDown(self):
         shutil.rmtree(self.dirpath)
 
+
 class TestDocumentStorage(TestStorageBase):
 
     def test_storage_empty(self):
         storage = models.DocumentStorage(self.dirpath)
         eq_(storage.all(), [])
-
-
-
-