diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2014-03-13 11:19:04 -0700 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2014-03-13 11:19:04 -0700 |
commit | ba55eea38df24b2b5f161874947637b48613f6ca (patch) | |
tree | 9197d29d310c266a089b1a27459b998e86dac392 /tests/test_packetizer.py | |
parent | 120071283d5490f1f942be764c1284b93cddcf0c (diff) | |
parent | 386384a498dab4bd128433f77f0839cee86d288b (diff) |
Merge remote-tracking branch 'scottkmaxwell/python3-with-import-fix' into python3
Diffstat (limited to 'tests/test_packetizer.py')
-rw-r--r-- | tests/test_packetizer.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_packetizer.py b/tests/test_packetizer.py index 09d7fcc3..d4d5544e 100644 --- a/tests/test_packetizer.py +++ b/tests/test_packetizer.py @@ -23,7 +23,7 @@ Some unit tests for the ssh2 protocol in Transport. import unittest from tests.loop import LoopSocket from Crypto.Cipher import AES -from Crypto.Hash import SHA, HMAC +from Crypto.Hash import SHA from paramiko import Message, Packetizer, util from paramiko.common import byte_chr, zero_byte @@ -33,7 +33,7 @@ x1f = byte_chr(0x1f) class PacketizerTest (unittest.TestCase): - def test_1_write (self): + def test_1_write(self): rsock = LoopSocket() wsock = LoopSocket() rsock.link(wsock) @@ -56,7 +56,7 @@ class PacketizerTest (unittest.TestCase): self.assertEqual(44, len(data)) self.assertEqual(b'\x43\x91\x97\xbd\x5b\x50\xac\x25\x87\xc2\xc4\x6b\xc7\xe9\x38\xc0', data[:16]) - def test_2_read (self): + def test_2_read(self): rsock = LoopSocket() wsock = LoopSocket() rsock.link(wsock) |