diff options
Diffstat (limited to 'morphlib/cachedir_tests.py')
-rw-r--r-- | morphlib/cachedir_tests.py | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/morphlib/cachedir_tests.py b/morphlib/cachedir_tests.py index e7ab9354..43686427 100644 --- a/morphlib/cachedir_tests.py +++ b/morphlib/cachedir_tests.py @@ -1,14 +1,14 @@ # Copyright (C) 2011-2012 Codethink Limited -# +# # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; version 2 of the License. -# +# # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. -# +# # You should have received a copy of the GNU General Public License along # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. @@ -51,7 +51,7 @@ class CacheDirTests(unittest.TestCase): 'foo': 'bar', 'xyzzy': 'plugh', } - self.assertEqual(self.cachedir.key(dict_key), + self.assertEqual(self.cachedir.key(dict_key), self.cachedir.key(dict_key)) def test_generates_different_string_keys(self): @@ -63,7 +63,7 @@ class CacheDirTests(unittest.TestCase): 'foo': 'foobar', 'xyzzy': 'stevenage', } - self.assertNotEqual(self.cachedir.key(dict_key_1), + self.assertNotEqual(self.cachedir.key(dict_key_1), self.cachedir.key(dict_key_2)) def test_returns_a_chunk_pathname_in_cache_directory(self): @@ -126,4 +126,3 @@ class CacheDirTests(unittest.TestCase): f.abort() pathname = os.path.join(self.cachedir.dirname, 'foo') self.assertFalse(os.path.exists(pathname)) - |