Whipper's caching implementation causes a few issues (#196, #230, [#321 (comment)](https://github.com/whipper-team/whipper/pull/321#issuecomment-437588821)) and complicates the code: it's better to drop this feature. The rip resume feature doesn't work anymore: if possible it will be restored in the future. * Remove caching item from TODO * Delete unneeded files related to caching * Update 'common/directory.py' & 'test/test_common_directory.py' (caching removal) * Update 'common/accurip.py' & 'test/test_common_accurip.py' (caching removal) * Update 'common/program.py' (caching removal) * Update 'command/cd.py' (caching removal) This fixes #335, fixes #196 and fixes #230. Signed-off-by: JoeLametta <JoeLametta@users.noreply.github.com>
16 lines
450 B
Python
16 lines
450 B
Python
# -*- Mode: Python; test-case-name: whipper.test.test_common_directory -*-
|
|
# vi:si:et:sw=4:sts=4:ts=4
|
|
|
|
from os.path import dirname, expanduser
|
|
from whipper.common import directory
|
|
from whipper.test import common
|
|
|
|
|
|
class DirectoryTestCase(common.TestCase):
|
|
HOME = expanduser('~')
|
|
HOME_PARENT = dirname(HOME)
|
|
|
|
def testAll(self):
|
|
path = directory.config_path()
|
|
self.assertTrue(path.startswith(DirectoryTestCase.HOME_PARENT))
|