Lines Matching defs:self
230 def test_should_create_LowpanIPHC_object_when_from_bytes_classmethod_called(self): argument
264 …d_parse_6lo_with_mesh_hdr_that_contains_hlim_stored_on_2_bytes_when_decompress_method_called(self): argument
297 …ef test_should_parse_6lo_with_uncompressed_udp_and_without_hbh_when_decompress_method_called(self): argument
325 … def test_should_parse_6lo_with_compressed_udp_and_without_hbh_when_decompress_method_called(self): argument
353 …ould_parse_6lo_with_uncompressed_udp_and_with_uncompressed_hbh_when_decompress_method_called(self): argument
381 …should_parse_6lo_with_uncompressed_udp_and_with_compressed_hbh_when_decompress_method_called(self): argument
409 …t_should_parse_6lo_with_compressed_udp_and_with_compressed_hbh_when_decompress_method_called(self): argument
437 …ould_parse_6lo_with_compressed_icmp_and_without_compressed_hbh_when_decompress_method_called(self): argument
467 …ld_parse_6lo_with_compressed_icmp_and_without_compressed_hbh_when_decompress_method_called_1(self): argument
497 …ld_parse_6lo_with_compressed_icmp_and_without_compressed_hbh_when_decompress_method_called_2(self): argument
527 …ld_parse_6lo_with_compressed_icmp_and_without_compressed_hbh_when_decompress_method_called_3(self): argument
557 …ld_parse_6lo_with_compressed_icmp_and_without_compressed_hbh_when_decompress_method_called_4(self): argument
587 …ld_parse_6lo_with_compressed_icmp_and_without_compressed_hbh_when_decompress_method_called_5(self): argument
616 …ld_parse_6lo_with_compressed_icmp_and_without_compressed_hbh_when_decompress_method_called_6(self): argument
646 …ld_parse_6lo_with_compressed_icmp_and_without_compressed_hbh_when_decompress_method_called_7(self): argument
677 …ld_parse_6lo_with_compressed_icmp_and_without_compressed_hbh_when_decompress_method_called_8(self): argument
707 …ld_parse_6lo_with_compressed_icmp_and_without_compressed_hbh_when_decompress_method_called_9(self): argument
736 …st_should_defragment_big_IPv6_packet_when_parse_method_called_with_fragments_in_random_order(self): argument
2163 def test_should_defragment_IPv6_packet_when_parse_method_called_with_fragments(self): argument
2194 …st_should_parse_udp_datagram_ports_when_decompress_udp_ports_method_called_with_udphc_p_eq_0(self): argument
2215 …st_should_parse_udp_datagram_ports_when_decompress_udp_ports_method_called_with_udphc_p_eq_1(self): argument
2236 …st_should_parse_udp_datagram_ports_when_decompress_udp_ports_method_called_with_udphc_p_eq_2(self): argument
2257 …st_should_parse_udp_datagram_ports_when_decompress_udp_ports_method_called_with_udphc_p_eq_3(self): argument
2278 …est_should_parse_udp_datagram_checksum_when_decompress_udp_checksum_called_with_udphc_c_eq_0(self): argument
2297 …est_should_parse_udp_datagram_checksum_when_decompress_udp_checksum_called_with_udphc_c_eq_1(self): argument
2319 …should_parse_traffic_class_and_flow_label_when_decompress_tf_method_called_with_iphc_tf_eq_0(self): argument
2345 …should_parse_traffic_class_and_flow_label_when_decompress_tf_method_called_with_iphc_tf_eq_1(self): argument
2369 …should_parse_traffic_class_and_flow_label_when_decompress_tf_method_called_with_iphc_tf_eq_2(self): argument
2390 …should_parse_traffic_class_and_flow_label_when_decompress_tf_method_called_with_iphc_tf_eq_3(self): argument
2407 …should_parse_traffic_class_and_flow_label_when_decompress_nh_method_called_with_iphc_nh_eq_0(self): argument
2426 …should_parse_traffic_class_and_flow_label_when_decompress_nh_method_called_with_iphc_nh_eq_1(self): argument
2443 def test_should_parse_hop_limit_when_decompress_hlim_called_with_iphc_hlim_eq_0(self): argument
2462 def test_should_parse_hop_limit_when_decompress_hlim_called_with_iphc_hlim_eq_1(self): argument
2479 def test_should_parse_hop_limit_when_decompress_hlim_called_with_iphc_hlim_eq_2(self): argument
2496 def test_should_parse_hop_limit_when_decompress_hlim_called_with_iphc_hlim_eq_3(self): argument
2513 … test_should_parse_source_address_when_decompress_src_addr_called_with_sac_eq_0_and_sam_eq_0(self): argument
2532 … test_should_parse_source_address_when_decompress_src_addr_called_with_sac_eq_0_and_sam_eq_1(self): argument
2551 … test_should_parse_source_address_when_decompress_src_addr_called_with_sac_eq_0_and_sam_eq_2(self): argument
2571 … test_should_parse_source_address_when_decompress_src_addr_called_with_sac_eq_0_and_sam_eq_3(self): argument
2594 def _merge_prefix_and_address(self, prefix, prefix_length, address): argument
2610 … test_should_parse_source_address_when_decompress_src_addr_called_with_sac_eq_1_and_sam_eq_0(self): argument
2629 … test_should_parse_source_address_when_decompress_src_addr_called_with_sac_eq_1_and_sam_eq_1(self): argument
2657 … test_should_parse_source_address_when_decompress_src_addr_called_with_sac_eq_1_and_sam_eq_2(self): argument
2687 … test_should_parse_source_address_when_decompress_src_addr_called_with_sac_eq_1_and_sam_eq_3(self): argument
2719 …_should_parse_dst_addr_when_decompress_dst_addr_called_with_m_eq_0_and_dac_eq_0_and_dam_eq_0(self): argument
2742 …_should_parse_dst_addr_when_decompress_dst_addr_called_with_m_eq_0_and_dac_eq_0_and_dam_eq_1(self): argument
2763 …_should_parse_dst_addr_when_decompress_dst_addr_called_with_m_eq_0_and_dac_eq_0_and_dam_eq_2(self): argument
2785 …_should_parse_dst_addr_when_decompress_dst_addr_called_with_m_eq_0_and_dac_eq_0_and_dam_eq_3(self): argument
2810 …uld_raise_RuntimeError_when_decompress_dst_addr_called_with_m_eq_0_and_dac_eq_1_and_dam_eq_0(self): argument
2826 …_should_parse_dst_addr_when_decompress_dst_addr_called_with_m_eq_0_and_dac_eq_1_and_dam_eq_1(self): argument
2856 …_should_parse_dst_addr_when_decompress_dst_addr_called_with_m_eq_0_and_dac_eq_1_and_dam_eq_2(self): argument
2888 …_should_parse_dst_addr_when_decompress_dst_addr_called_with_m_eq_0_and_dac_eq_1_and_dam_eq_3(self): argument
2922 …_should_parse_dst_addr_when_decompress_dst_addr_called_with_m_eq_1_and_dac_eq_0_and_dam_eq_0(self): argument
2943 …_should_parse_dst_addr_when_decompress_dst_addr_called_with_m_eq_1_and_dac_eq_0_and_dam_eq_1(self): argument
2969 …_should_parse_dst_addr_when_decompress_dst_addr_called_with_m_eq_1_and_dac_eq_0_and_dam_eq_2(self): argument
2995 …_should_parse_dst_addr_when_decompress_dst_addr_called_with_m_eq_1_and_dac_eq_0_and_dam_eq_3(self): argument
3019 …uld_raise_RuntimeError_when_decompress_dst_addr_called_with_m_eq_1_and_dac_eq_1_and_dam_eq_0(self): argument
3057 …uld_raise_RuntimeError_when_decompress_dst_addr_called_with_m_eq_1_and_dac_eq_1_and_dam_eq_1(self): argument
3073 …uld_raise_RuntimeError_when_decompress_dst_addr_called_with_m_eq_1_and_dac_eq_1_and_dam_eq_2(self): argument
3089 …_should_parse_dst_addr_when_decompress_dst_addr_called_with_m_eq_1_and_dac_eq_1_and_dam_eq_3(self): argument
3105 …should_merge_pfx_with_addr_bytes_when_merge_method_called_with_pfx_shorter_than_missing_bits(self): argument
3122 …merge_pfx_with_addr_bytes_when_merge_method_called_with_pfx_longer_than_missing_bits_overlap(self): argument
3139 …ould_merge_pfx_with_address_bytes_when_merge_method_called_with_pfx_longer_than_missing_bits(self): argument
3160 def test_should_extract_context_from_str_representation_when_constructor_called(self): argument
3172 def test_should_extract_context_from_bytearray_when_construct_called(self): argument
3187 def test_should_raise_IndexError_when_index_is_larger_than_15(self): argument
3197 def test_should_raise_IndexError_when_index_is_smaller_than_0(self): argument
3207 def test_should_raise_TypeError_when_set_value_is_not_Context(self): argument
3218 def test_should_return_hops_left_value_when_hops_left_property_called(self): argument
3230 def test_should_return_originator_address_value_when_originator_address_property_called(self): argument
3242 …should_return_final_destination_address_value_when_final_destination_address_property_called(self): argument
3257 def test_should_create_LowpanMeshHeader_when_parse_method_called(self): argument
3289 def test_should_return_datagram_size_value_when_datagram_size_property_called(self): argument
3302 def test_should_return_datagram_tag_value_when_datagram_tag_property_called(self): argument
3315 def test_should_return_datagram_offset_value_when_datagram_offset_property_called(self): argument
3328 … def test_should_return_False_when_is_first_property_called_and_datagram_offset_is_not_eq_0(self): argument
3341 …est_should_to_bytes_LowpanFragmentationHeader_from_bytes_when_from_bytes_class_method_called(self): argument
3361 def test_should_parse_parent_request_when_decompress_method_called(self): argument
3386 def test_should_parse_parent_response_when_decompress_method_called(self): argument
3418 def test_should_parse_child_id_request_when_decompress_method_called(self): argument
3450 def test_should_parse_child_id_response_when_decompress_method_called(self): argument
3481 def test_should_parse_advertisement_when_decompress_method_called(self): argument
3512 …_should_raise_ValueError_when_write_method_called_with_data_length_bigger_than_buffer_length(self): argument
3521 def test_should_move_write_position_by_the_data_length_when_write_method_called(self): argument
3537 …ould_raise_ValueError_when_read_method_called_but_not_whole_packet_has_been_stored_in_buffer(self): argument
3547 …f test_should_raise_ValueError_when_seek_method_called_with_offset_bigger_than_buffer_length(self): argument
3556 def test_should_set_write_position_when_seek_method_called(self): argument
3569 def test_should_write_whole_packet_to_buffer_when_write_method_called(self): argument
3581 …_write_many_frags_to_the_buffer_and_return_whole_message_when_write_method_called_many_times(self): argument
3634 …test_should_raise_ValueError_when_get_fragments_buffer_method_called_with_invalid_dgram_size(self): argument
3648 …d_return_LowpanFragmentsBuffer_when_get_fragments_buffer_method_called_with_valid_dgram_size(self): argument