Lines Matching refs:coap
80 coap = p.coap
81 self.assertIsInstance(coap.version, int)
82 self.assertIsInstance(coap.type, int)
83 self.assertIsInstance(coap.token_len, int)
84 self.assertIsInstance(coap.code, int)
85 self.assertIsInstance(coap.mid, int)
86 self.assertIsInstanceOrNull(coap.token, int)
87 self.assertIsInstanceOrNull(coap.opt.uri_path_recon, str)
88 self.assertIsInstanceOrNull(coap.payload, bytearray)
90 print(p.coap.tlv.type, p.coap.tlv)
91 assert isinstance(coap.tlv, LayerFieldsContainer), repr(coap.tlv)
92 self.assertIsInstanceOrNull(coap.tlv.type, list)