* 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).
19 lines
437 B
Python
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'))
|