Skip to content

Commit

Permalink
Fixed incorrect unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelgrinberg committed Jul 9, 2015
1 parent 12cc283 commit 583736a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_packet.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def test_encode_text_packet(self):

def test_decode_text_packet(self):
pkt = packet.Packet(encoded_packet=b'4text')
self.assertTrue(pkt.encode(), b'text')
self.assertEqual(pkt.encode(), b'4text')

def test_encode_binary_packet(self):
pkt = packet.Packet(packet.MESSAGE, data=b'\x01\x02\x03',
Expand Down

0 comments on commit 583736a

Please sign in to comment.