diff options
author | Scott Maxwell <scott@codecobblers.com> | 2013-11-01 09:49:52 -0700 |
---|---|---|
committer | Scott Maxwell <scott@codecobblers.com> | 2013-11-01 09:49:52 -0700 |
commit | 9662a7f779636f0328263a81cdeb76af25802970 (patch) | |
tree | 0d0caa288159db9439e22039b21127201fc09017 /tests/test_sftp.py | |
parent | 06b866cf406c035ecaffd7a8abd31d6e07b8811a (diff) |
Changes inspired by the nischu7 branch
Diffstat (limited to 'tests/test_sftp.py')
-rwxr-xr-x | tests/test_sftp.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_sftp.py b/tests/test_sftp.py index 460e04cf..20f68d8a 100755 --- a/tests/test_sftp.py +++ b/tests/test_sftp.py @@ -611,12 +611,12 @@ class SFTPTest (unittest.TestCase): try: f = sftp.open(FOLDER + '/kitty.txt', 'r') sum = f.check('sha1') - self.assertEqual('91059CFC6615941378D413CB5ADAF4C5EB293402', hexlify(sum).upper()) + self.assertEqual('91059CFC6615941378D413CB5ADAF4C5EB293402', u(hexlify(sum)).upper()) sum = f.check('md5', 0, 512) - self.assertEqual('93DE4788FCA28D471516963A1FE3856A', hexlify(sum).upper()) + self.assertEqual('93DE4788FCA28D471516963A1FE3856A', u(hexlify(sum)).upper()) sum = f.check('md5', 0, 0, 510) self.assertEqual('EB3B45B8CD55A0707D99B177544A319F373183D241432BB2157AB9E46358C4AC90370B5CADE5D90336FC1716F90B36D6', - hexlify(sum).upper()) + u(hexlify(sum)).upper()) f.close() finally: sftp.unlink(FOLDER + '/kitty.txt') |