]> git.ipfire.org Git - thirdparty/dnspython.git/commit
Improve assertion checking. 427/head
authorBrian Wellington <bwelling@xbill.org>
Wed, 18 Mar 2020 18:26:55 +0000 (11:26 -0700)
committerBrian Wellington <bwelling@xbill.org>
Wed, 18 Mar 2020 18:26:55 +0000 (11:26 -0700)
commite6798e58b4555740db4cfb43c8b9ce0d7d3416f1
tree7a2a5286ca49e0fe814eef39082a6d59b3d7289a
parentfc74c9261dcd36fd1ec0f10d48c9c0fc56ce17ea
Improve assertion checking.

This replaces lots of self.assertTrue() assertions with more specific
assertions, such as replacing assertTrue(x == y) with assertEqual(x, y).
18 files changed:
tests/test_bugs.py
tests/test_dnssec.py
tests/test_flags.py
tests/test_generate.py
tests/test_message.py
tests/test_name.py
tests/test_namedict.py
tests/test_ntoaaton.py
tests/test_rdata.py
tests/test_rdtypeandclass.py
tests/test_rdtypeanydnskey.py
tests/test_rdtypeanyloc.py
tests/test_resolver.py
tests/test_rrset.py
tests/test_set.py
tests/test_tokenizer.py
tests/test_update.py
tests/test_zone.py