Files
whipper-gui/morituri/test/test_common_directory.py
JoeLametta 746dc6599d Issue24 (#42)
* Address issue #24
* Remove getReadCaches() & replace it with getCache()

Now whipper always follows XDG specifications. All changes were documented into the README file.

The changes introduced here aren't backward compatible so, after updating whipper, you may need to configure it again (old config file are retained, though).
2016-10-09 17:26:06 +02:00

19 lines
437 B
Python

# -*- Mode: Python; test-case-name: morituri.test.test_common_directory -*-
# vi:si:et:sw=4:sts=4:ts=4
from morituri.common import directory
from morituri.test import common
class DirectoryTestCase(common.TestCase):
def testAll(self):
d = directory.Directory()
path = d.getConfig()
self.failUnless(path.startswith('/home'))
path = d.getCache()
self.failUnless(path.startswith('/home'))