17 lines
422 B
Python
17 lines
422 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):
|
|
path = directory.config_path()
|
|
self.failUnless(path.startswith('/home'))
|
|
|
|
path = directory.cache_path()
|
|
self.failUnless(path.startswith('/home'))
|