Lines Matching refs:assertIsInstanceOrNull
86 self.assertIsInstanceOrNull(coap.token, int)
87 self.assertIsInstanceOrNull(coap.opt.uri_path_recon, str)
88 self.assertIsInstanceOrNull(coap.payload, bytearray)
92 self.assertIsInstanceOrNull(coap.tlv.type, list)
100 self.assertIsInstanceOrNull(mle.tlv.mode.receiver_on_idle, int)
101 self.assertIsInstanceOrNull(mle.tlv.mode.reserved1, int)
102 self.assertIsInstanceOrNull(mle.tlv.mode.reserved2, int)
103 self.assertIsInstanceOrNull(mle.tlv.mode.device_type_bit, int)
104 self.assertIsInstanceOrNull(mle.tlv.mode.network_data, int)
105 self.assertIsInstanceOrNull(mle.tlv.challenge, Bytes)
106 self.assertIsInstanceOrNull(mle.tlv.scan_mask.r, int)
107 self.assertIsInstanceOrNull(mle.tlv.scan_mask.e, int)
108 self.assertIsInstanceOrNull(mle.tlv.version, int)
109 self.assertIsInstanceOrNull(mle.tlv.source_addr, int)
110 self.assertIsInstanceOrNull(mle.tlv.active_tstamp, int)
111 self.assertIsInstanceOrNull(mle.tlv.leader_data.partition_id, int)
112 self.assertIsInstanceOrNull(mle.tlv.leader_data.weighting, int)
113 self.assertIsInstanceOrNull(mle.tlv.leader_data.data_version, int)
114 self.assertIsInstanceOrNull(mle.tlv.leader_data.stable_data_version, int)
115 self.assertIsInstanceOrNull(mle.tlv.leader_data.router_id, int)
134 self.assertIsInstanceOrNull(wpan.dst_pan, int)
135 self.assertIsInstanceOrNull(wpan.dst16, int)
136 self.assertIsInstanceOrNull(wpan.src16, int)
137 self.assertIsInstanceOrNull(wpan.src64, ExtAddr)
138 self.assertIsInstanceOrNull(wpan.dst64, ExtAddr)
145 self.assertIsInstanceOrNull(wpan.aux_sec.sec_suite, int)
146 self.assertIsInstanceOrNull(wpan.aux_sec.security_control_field, int)
147 self.assertIsInstanceOrNull(wpan.aux_sec.sec_level, int)
148 self.assertIsInstanceOrNull(wpan.aux_sec.key_id_mode, int)
149 self.assertIsInstanceOrNull(wpan.aux_sec.frame_counter_suppression, int)
150 self.assertIsInstanceOrNull(wpan.aux_sec.asn_in_nonce, int)
151 self.assertIsInstanceOrNull(wpan.aux_sec.reserved, int)
152 self.assertIsInstanceOrNull(wpan.aux_sec.frame_counter, int)
153 self.assertIsInstanceOrNull(wpan.aux_sec.key_source, int)
154 self.assertIsInstanceOrNull(wpan.aux_sec.key_index, int)
156 def assertIsInstanceOrNull(self, field, type): member in TestLayerFields
164 self.assertIsInstanceOrNull(thread_bl.tlv.target_eid, Ipv6Addr)
165 self.assertIsInstanceOrNull(thread_bl.tlv.ml_eid, ExtAddr)
166 self.assertIsInstanceOrNull(thread_bl.tlv.last_transaction_time, int)
167 self.assertIsInstanceOrNull(p.thread_meshcop.tlv.net_name, list)
244 self.assertIsInstanceOrNull(icmpv6.reserved, int)
245 self.assertIsInstanceOrNull(icmpv6.nd.na.flag.s, int)
246 self.assertIsInstanceOrNull(icmpv6.nd.na.flag.o, int)
247 self.assertIsInstanceOrNull(icmpv6.nd.na.flag.r, int)
248 self.assertIsInstanceOrNull(icmpv6.nd.na.flag.rsv, int)
249 self.assertIsInstanceOrNull(icmpv6.nd.ra.cur_hop_limit, int)
250 self.assertIsInstanceOrNull(icmpv6.mldr.nb_mcast_records, int)
251 self.assertIsInstanceOrNull(icmpv6.nd.ns.target_address, Ipv6Addr)
252 self.assertIsInstanceOrNull(icmpv6.mldr.mar.multicast_address, list)
266 self.assertIsInstanceOrNull(lowpan.src, Ipv6Addr)
267 self.assertIsInstanceOrNull(lowpan.dst, Ipv6Addr)
268 self.assertIsInstanceOrNull(lowpan.udp.src, int)
269 self.assertIsInstanceOrNull(lowpan.udp.dst, int)
270 self.assertIsInstanceOrNull(lowpan.udp.checksum, int)
271 self.assertIsInstanceOrNull(lowpan.frag.size, int)
272 self.assertIsInstanceOrNull(lowpan.frag.tag, int)
273 self.assertIsInstanceOrNull(lowpan.frag.offset, int)
274 self.assertIsInstanceOrNull(lowpan.nhc.pattern, list)
275 self.assertIsInstanceOrNull(lowpan.nhc.udp.checksum, int)
276 self.assertIsInstanceOrNull(lowpan.nhc.udp.ports, int)
278 self.assertIsInstanceOrNull(lowpan.pattern, list)
279 self.assertIsInstanceOrNull(lowpan.iphc.tf, int)
280 self.assertIsInstanceOrNull(lowpan.iphc.nh, int)
281 self.assertIsInstanceOrNull(lowpan.iphc.hlim, int)
282 self.assertIsInstanceOrNull(lowpan.iphc.cid, int)
283 self.assertIsInstanceOrNull(lowpan.iphc.sac, int)
284 self.assertIsInstanceOrNull(lowpan.iphc.sam, int)
285 self.assertIsInstanceOrNull(lowpan.iphc.m, int)
286 self.assertIsInstanceOrNull(lowpan.iphc.dac, int)
287 self.assertIsInstanceOrNull(lowpan.iphc.dam, int)
288 self.assertIsInstanceOrNull(lowpan.iphc.sctx.prefix, Bytes)
289 self.assertIsInstanceOrNull(lowpan.iphc.dctx.prefix, Bytes)