]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
Try to appease older unittest 749/head
authorIshai <ishai@iThinkPad.hitronhub.home>
Fri, 14 Jan 2022 05:45:15 +0000 (21:45 -0800)
committerIshai <ishai@iThinkPad.hitronhub.home>
Fri, 14 Jan 2022 05:45:15 +0000 (21:45 -0800)
tests/test_resolver.py

index 4a6bbb924bbc9f7255e050f7be52e3fc65366f6b..0f6a63842124050f1b42e84d8743fc08937afc62 100644 (file)
@@ -653,7 +653,7 @@ class LiveResolverTests(unittest.TestCase):
         options = [dns.edns.ECSOption('1.1.1.1')]
         resolver.use_edns(True, options=options)
         resolver.resolve('dns.google.', 'A')
-        assert message_use_edns_mock.call_args.kwargs == {'options': options}
+        assert {'options': options} in message_use_edns_mock.call_args
 
     def testResolveNodataException(self):
         def bad():