X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/beb9f10bd04b0085e66fd46b9f412269da9ea668..6a259b96cff47e1fd64cbfd6f3d1e1d8e8b6486c:/apps/wiki/tests.py diff --git a/apps/wiki/tests.py b/apps/wiki/tests.py deleted file mode 100644 index 91eccc8a..00000000 --- a/apps/wiki/tests.py +++ /dev/null @@ -1,20 +0,0 @@ -from nose.tools import * -import wiki.models as models -import shutil, tempfile - -class TestStorageBase: - def setUp(self): - 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(), []) - - - -