diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2011-12-12 14:20:55 +0000 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2011-12-12 14:20:55 +0000 |
commit | 1078ae1f1011c03c201b529fd81d462369e9bb39 (patch) | |
tree | dcbea052d448efd17448f64ef767545cddd7ef8c /morphlib/cachedir_tests.py | |
parent | d655eb0e7f6d454df9e2669143035db7fa6f38d4 (diff) | |
download | morph-1078ae1f1011c03c201b529fd81d462369e9bb39.tar.gz |
Removed redundant test
It checked the same thing, but through the Cachedir.name() interface
dirname is a more direct part of the interface.
Diffstat (limited to 'morphlib/cachedir_tests.py')
-rw-r--r-- | morphlib/cachedir_tests.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/morphlib/cachedir_tests.py b/morphlib/cachedir_tests.py index dec6358a..a4d8d39e 100644 --- a/morphlib/cachedir_tests.py +++ b/morphlib/cachedir_tests.py @@ -29,16 +29,6 @@ class CacheDirTests(unittest.TestCase): def test_sets_dirname_attribute(self): self.assertEqual(self.cachedir.dirname, os.path.abspath(self.dirname)) - def test_uses_absolute_path(self): - abspath = os.path.abspath(self.dirname) - abscache = morphlib.cachedir.CacheDir(abspath) - dict_key = { - 'foo': 'bar', - 'xyzzy': 'plugh', - } - self.assertEqual(self.cachedir.name(dict_key), - abscache.name(dict_key)) - def test_generates_string_key_for_arbitrary_dict_key(self): key = self.cachedir.key({ 'foo': 'bar', |