예제 #1
0
 def test_framecheckaddresses_dest_range(self):
     with self.assertRaises(HeatmiserResponseError):
         _check_response_frame_addresses(5, 128, [128, 7, 0, 5, 1, 116, 39])
예제 #2
0
 def test_framecheckaddresses_source_range(self):
     with self.assertRaises(HeatmiserResponseError):
         _check_response_frame_addresses(33, 129,
                                         [129, 7, 0, 33, 1, 116, 39])
예제 #3
0
 def test_framecheckaddresses_dest(self):
     with self.assertRaises(HeatmiserResponseError):
         _check_response_frame_addresses(5, 1, self.goodresponsemessage)
예제 #4
0
 def test_framecheckaddresses_source(self):
     with self.assertRaises(HeatmiserResponseError):
         _check_response_frame_addresses(1, 129, self.goodresponsemessage)
예제 #5
0
 def test_framecheckaddresses_good(self):
     _check_response_frame_addresses(5, 129, self.goodresponsemessage)