summaryrefslogtreecommitdiff
path: root/summainlib_tests.py
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2011-06-11 19:39:28 +0100
committerLars Wirzenius <liw@liw.fi>2011-06-11 19:39:28 +0100
commitad65e1c1a17e2483177a94286ecc2d52999069bc (patch)
tree20e45a507bf2c86f1f78313fffdf70907a5462f6 /summainlib_tests.py
parent4a56e435a9909d675a883fea26c3d2c07a191127 (diff)
downloadsummain-ad65e1c1a17e2483177a94286ecc2d52999069bc.tar.gz
Rename test cases to be more generic.
Diffstat (limited to 'summainlib_tests.py')
-rw-r--r--summainlib_tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/summainlib_tests.py b/summainlib_tests.py
index 61cd425..e073893 100644
--- a/summainlib_tests.py
+++ b/summainlib_tests.py
@@ -129,10 +129,10 @@ class FilesystemObjectTests(unittest.TestCase):
def test_formats_group_correctly(self):
self.assertEqual(self.new('foo')['Group'], 'root')
- def test_formats_sha1_correctly_for_regular_file(self):
+ def test_formats_checksums_correctly_for_regular_file(self):
self.assertEqual(self.new('foo')['Sha-1'], 'abc')
- def test_formats_sha1_correctly_for_special_file(self):
+ def test_formats_checksums_correctly_for_special_file(self):
self.st.st_mode = stat.S_IFDIR | 0755
self.assertEqual(self.new('foo')['Sha-1'], '')