Esempio n. 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])
Esempio n. 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])
Esempio n. 3
0
 def test_framecheckaddresses_dest(self):
     with self.assertRaises(HeatmiserResponseError):
         _check_response_frame_addresses(5, 1, self.goodresponsemessage)
Esempio n. 4
0
 def test_framecheckaddresses_source(self):
     with self.assertRaises(HeatmiserResponseError):
         _check_response_frame_addresses(1, 129, self.goodresponsemessage)
Esempio n. 5
0
 def test_framecheckaddresses_good(self):
     _check_response_frame_addresses(5, 129, self.goodresponsemessage)