diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2014-03-26 12:40:17 +0000 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2014-03-26 12:40:17 +0000 |
commit | 9c88a8ff071c9a74e3b412bd4f4ef19cd9248611 (patch) | |
tree | ffc232d8714dd167b610782bdf93aec84437b65c /tests/utilities_tests.py | |
parent | 6b3b56ee17e14a0f0de8a16a6a52b3708d01146b (diff) | |
download | sos-9c88a8ff071c9a74e3b412bd4f4ef19cd9248611.tar.gz |
Dead code removal: utilities.checksum()
Has test case but no callers. Delete it.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Diffstat (limited to 'tests/utilities_tests.py')
-rw-r--r-- | tests/utilities_tests.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/utilities_tests.py b/tests/utilities_tests.py index da0987ff..395fde13 100644 --- a/tests/utilities_tests.py +++ b/tests/utilities_tests.py @@ -43,18 +43,6 @@ class TailTest(unittest.TestCase): self.assertEquals(t, six.b(expected)) -class ChecksumTest(unittest.TestCase): - - def test_simple_hash(self): - self.assertEquals(checksum(StringIO('this is a test'), algorithm="sha256"), - '2e99758548972a8e8822ad47fa1017ff72f06f3ff6a016851f45c398732bc50c') - - def test_hash_loading(self): - # not the greatest test, since we are asking the policy to pick for us - name = get_hash_name() - self.assertTrue(name in ('md5', 'sha256')) - - class ExecutableTest(unittest.TestCase): def test_nonexe_file(self): |