summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-10-01 19:58:48 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-10-01 19:58:48 (GMT)
commite7a46981a76c2d60b8485d06ffc408623276a091 (patch)
tree5bbcbfd4ee4b294e46f3d222d09db203d5f89b8e /tests
parentd8f695596e4225de797504f8f797e1347491dd14 (diff)
Made the Python bindings more Pythonish.
Diffstat (limited to 'tests')
-rw-r--r--tests/analysis/contents/checksum.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/analysis/contents/checksum.py b/tests/analysis/contents/checksum.py
index ba09a3f..54e4630 100644
--- a/tests/analysis/contents/checksum.py
+++ b/tests/analysis/contents/checksum.py
@@ -47,7 +47,7 @@ class TestRestrictedContent(ChrysalideTestCase):
expected = hashlib.sha256(b'AAAABBBBCCCCDDDD').hexdigest()
- self.assertEqual(fcnt.get_checksum(), expected)
+ self.assertEqual(fcnt.checksum, expected)
def testPartialChecksum(self):
@@ -64,4 +64,4 @@ class TestRestrictedContent(ChrysalideTestCase):
expected = hashlib.sha256(b'BBBB').hexdigest()
- self.assertEqual(rcnt.get_checksum(), expected)
+ self.assertEqual(rcnt.checksum, expected)