@@ -1425,8 +1425,8 @@ async def test_response_aggregation_timings(run_isolated):
14251425 outgoing = send_mock .call_args [0 ][0 ]
14261426 incoming = r .DNSIncoming (outgoing .packets ()[0 ])
14271427 zc .record_manager .async_updates_from_response (incoming )
1428- assert info .dns_pointer () in incoming .answers
1429- assert info2 .dns_pointer () in incoming .answers
1428+ assert info .dns_pointer () in incoming .answers ()
1429+ assert info2 .dns_pointer () in incoming .answers ()
14301430 send_mock .reset_mock ()
14311431
14321432 protocol .datagram_received (query3 .packets ()[0 ], ('127.0.0.1' , const ._MDNS_PORT ))
@@ -1439,7 +1439,7 @@ async def test_response_aggregation_timings(run_isolated):
14391439 outgoing = send_mock .call_args [0 ][0 ]
14401440 incoming = r .DNSIncoming (outgoing .packets ()[0 ])
14411441 zc .record_manager .async_updates_from_response (incoming )
1442- assert info3 .dns_pointer () in incoming .answers
1442+ assert info3 .dns_pointer () in incoming .answers ()
14431443 send_mock .reset_mock ()
14441444
14451445 # Because the response was sent in the last second we need to make
@@ -1461,7 +1461,7 @@ async def test_response_aggregation_timings(run_isolated):
14611461 assert len (calls ) == 1
14621462 outgoing = send_mock .call_args [0 ][0 ]
14631463 incoming = r .DNSIncoming (outgoing .packets ()[0 ])
1464- assert info .dns_pointer () in incoming .answers
1464+ assert info .dns_pointer () in incoming .answers ()
14651465
14661466 await aiozc .async_close ()
14671467
@@ -1501,7 +1501,7 @@ async def test_response_aggregation_timings_multiple(run_isolated, disable_dupli
15011501 outgoing = send_mock .call_args [0 ][0 ]
15021502 incoming = r .DNSIncoming (outgoing .packets ()[0 ])
15031503 zc .record_manager .async_updates_from_response (incoming )
1504- assert info2 .dns_pointer () in incoming .answers
1504+ assert info2 .dns_pointer () in incoming .answers ()
15051505
15061506 send_mock .reset_mock ()
15071507 protocol .datagram_received (query2 .packets ()[0 ], ('127.0.0.1' , const ._MDNS_PORT ))
@@ -1511,7 +1511,7 @@ async def test_response_aggregation_timings_multiple(run_isolated, disable_dupli
15111511 outgoing = send_mock .call_args [0 ][0 ]
15121512 incoming = r .DNSIncoming (outgoing .packets ()[0 ])
15131513 zc .record_manager .async_updates_from_response (incoming )
1514- assert info2 .dns_pointer () in incoming .answers
1514+ assert info2 .dns_pointer () in incoming .answers ()
15151515
15161516 send_mock .reset_mock ()
15171517 protocol .datagram_received (query2 .packets ()[0 ], ('127.0.0.1' , const ._MDNS_PORT ))
@@ -1534,7 +1534,7 @@ async def test_response_aggregation_timings_multiple(run_isolated, disable_dupli
15341534 outgoing = send_mock .call_args [0 ][0 ]
15351535 incoming = r .DNSIncoming (outgoing .packets ()[0 ])
15361536 zc .record_manager .async_updates_from_response (incoming )
1537- assert info2 .dns_pointer () in incoming .answers
1537+ assert info2 .dns_pointer () in incoming .answers ()
15381538
15391539
15401540@pytest .mark .asyncio
0 commit comments