Skip to content

Commit d4dcdc0

Browse files
committed
#255 Fix unit tests
1 parent 64cb66a commit d4dcdc0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_payload.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,9 @@ def testPayloadDecoderReset(self):
160160

161161
def testPayloadDecoderRegisterFactory(self):
162162
''' Test the payload decoder reset functionality '''
163-
payload = [1,2,3,4]
163+
payload = [1, 2, 3, 4]
164164
decoder = BinaryPayloadDecoder.fromRegisters(payload, endian=Endian.Little)
165-
encoded = b'\x01\x00\x02\x00\x03\x00\x04\x00'
165+
encoded = b'\x00\x01\x00\x02\x00\x03\x00\x04'
166166
self.assertEqual(encoded, decoder.decode_string(8))
167167

168168
decoder = BinaryPayloadDecoder.fromRegisters(payload, endian=Endian.Big)

0 commit comments

Comments
 (0)