diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2014-10-27 20:54:52 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2014-10-27 20:54:52 -0400 |
commit | a0f2211ea7f0766516ba2a3f3f99c1a3fd1c0e9d (patch) | |
tree | e1190be5f3b52fb68290c18bc65421d6a3b7dfab /tests/test_misc.py | |
parent | 4ba55d99d10378af1908d52b5d55560be742f074 (diff) | |
download | python-coveragepy-git-a0f2211ea7f0766516ba2a3f3f99c1a3fd1c0e9d.tar.gz |
Use json for html status file instead of pickle.
Diffstat (limited to 'tests/test_misc.py')
-rw-r--r-- | tests/test_misc.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_misc.py b/tests/test_misc.py index 74ed1a78..37191f67 100644 --- a/tests/test_misc.py +++ b/tests/test_misc.py @@ -18,15 +18,15 @@ class HasherTest(CoverageTest): h2.update("Goodbye!") h3 = Hasher() h3.update("Hello, world!") - self.assertNotEqual(h1.digest(), h2.digest()) - self.assertEqual(h1.digest(), h3.digest()) + self.assertNotEqual(h1.hexdigest(), h2.hexdigest()) + self.assertEqual(h1.hexdigest(), h3.hexdigest()) def test_dict_hashing(self): h1 = Hasher() h1.update({'a': 17, 'b': 23}) h2 = Hasher() h2.update({'b': 23, 'a': 17}) - self.assertEqual(h1.digest(), h2.digest()) + self.assertEqual(h1.hexdigest(), h2.hexdigest()) class RemoveFileTest(CoverageTest): |