Browse Source

Fixed KPM header test.

pyserial_fix
Scott Petersen 11 years ago
parent
commit
9fb3e80f25
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      test/test_ad2.py

+ 1
- 1
test/test_ad2.py View File

@@ -142,7 +142,7 @@ class TestAlarmDecoder(TestCase):
self.assertTrue(self._message_received)

def test_message_kpe(self):
msg = self._decoder._handle_message('!KPE:[0000000000000000----],000,[f707000600e5800c0c020000]," "')
msg = self._decoder._handle_message('!KPM:[0000000000000000----],000,[f707000600e5800c0c020000]," "')
self.assertIsInstance(msg, Message)

self._decoder._on_read(self, data='[0000000000000000----],000,[f707000600e5800c0c020000]," "')


Loading…
Cancel
Save