@@ -110,7 +110,7 @@ def _process_outgoing_packet(out):
110110 assert question_answers
111111 _process_outgoing_packet (construct_outgoing_multicast_answers (question_answers .mcast_aggregate ))
112112
113- # The additonals should all be suppresed since they are all in the answers section
113+ # The additonals should all be suppressed since they are all in the answers section
114114 # There will be one NSEC additional to indicate the lack of AAAA record
115115 #
116116 assert nbr_answers == 4 and nbr_additionals == 1 and nbr_authorities == 0
@@ -685,7 +685,7 @@ def _validate_complete_response(answers):
685685 assert not question_answers .mcast_aggregate
686686 _validate_complete_response (question_answers .mcast_now )
687687
688- # With QU set and an authorative answer (probe) should respond to both unitcast
688+ # With QU set and an authoritative answer (probe) should respond to both unitcast
689689 # and multicast since the response hasn't been seen since 75% of the ttl
690690 query = r .DNSOutgoing (const ._FLAGS_QR_QUERY )
691691 question = r .DNSQuestion (info .type , const ._TYPE_PTR , const ._CLASS_IN )
@@ -744,7 +744,7 @@ def test_known_answer_supression():
744744
745745 now = current_time_millis ()
746746 _clear_cache (zc )
747- # Test PTR supression
747+ # Test PTR suppression
748748 generated = r .DNSOutgoing (const ._FLAGS_QR_QUERY )
749749 question = r .DNSQuestion (type_ , const ._TYPE_PTR , const ._CLASS_IN )
750750 generated .add_question (question )
@@ -768,7 +768,7 @@ def test_known_answer_supression():
768768 assert not question_answers .mcast_aggregate
769769 assert not question_answers .mcast_aggregate_last_second
770770
771- # Test A supression
771+ # Test A suppression
772772 generated = r .DNSOutgoing (const ._FLAGS_QR_QUERY )
773773 question = r .DNSQuestion (server_name , const ._TYPE_A , const ._CLASS_IN )
774774 generated .add_question (question )
@@ -809,7 +809,7 @@ def test_known_answer_supression():
809809 assert not question_answers .mcast_aggregate
810810 assert not question_answers .mcast_aggregate_last_second
811811
812- # Test SRV supression
812+ # Test SRV suppression
813813 generated = r .DNSOutgoing (const ._FLAGS_QR_QUERY )
814814 question = r .DNSQuestion (registration_name , const ._TYPE_SRV , const ._CLASS_IN )
815815 generated .add_question (question )
@@ -833,7 +833,7 @@ def test_known_answer_supression():
833833 assert not question_answers .mcast_aggregate
834834 assert not question_answers .mcast_aggregate_last_second
835835
836- # Test TXT supression
836+ # Test TXT suppression
837837 generated = r .DNSOutgoing (const ._FLAGS_QR_QUERY )
838838 question = r .DNSQuestion (registration_name , const ._TYPE_TXT , const ._CLASS_IN )
839839 generated .add_question (question )
@@ -914,7 +914,7 @@ def test_multi_packet_known_answer_supression():
914914
915915 now = current_time_millis ()
916916 _clear_cache (zc )
917- # Test PTR supression
917+ # Test PTR suppression
918918 generated = r .DNSOutgoing (const ._FLAGS_QR_QUERY )
919919 question = r .DNSQuestion (type_ , const ._TYPE_PTR , const ._CLASS_IN )
920920 generated .add_question (question )
@@ -976,7 +976,7 @@ def test_known_answer_supression_service_type_enumeration_query():
976976 now = current_time_millis ()
977977 _clear_cache (zc )
978978
979- # Test PTR supression
979+ # Test PTR suppression
980980 generated = r .DNSOutgoing (const ._FLAGS_QR_QUERY )
981981 question = r .DNSQuestion (const ._SERVICE_TYPE_ENUMERATION_NAME , const ._TYPE_PTR , const ._CLASS_IN )
982982 generated .add_question (question )
@@ -1062,7 +1062,7 @@ def test_upper_case_enumeration_query():
10621062 zc .registry .async_add (info2 )
10631063 _clear_cache (zc )
10641064
1065- # Test PTR supression
1065+ # Test PTR suppression
10661066 generated = r .DNSOutgoing (const ._FLAGS_QR_QUERY )
10671067 question = r .DNSQuestion (const ._SERVICE_TYPE_ENUMERATION_NAME .upper (), const ._TYPE_PTR , const ._CLASS_IN )
10681068 generated .add_question (question )
@@ -1579,7 +1579,7 @@ async def test_duplicate_goodbye_answers_in_packet():
15791579
15801580@pytest .mark .asyncio
15811581async def test_response_aggregation_timings (run_isolated ):
1582- """Verify multicast respones are aggregated."""
1582+ """Verify multicast responses are aggregated."""
15831583 type_ = "_mservice._tcp.local."
15841584 type_2 = "_mservice2._tcp.local."
15851585 type_3 = "_mservice3._tcp.local."
@@ -1949,7 +1949,7 @@ async def test_future_answers_are_removed_on_send():
19491949 # The answer should get removed because we just sent it
19501950 assert info .dns_pointer () not in outgoing_queue .queue [0 ].answers
19511951
1952- # But the one we have not sent yet shoudl still go out later
1952+ # But the one we have not sent yet should still go out later
19531953 assert info2 .dns_pointer () in outgoing_queue .queue [0 ].answers
19541954
19551955
0 commit comments