summaryrefslogtreecommitdiff
path: root/tests/test_rdata.py
Commit message (Collapse)AuthorAgeFilesLines
* a way of doing commentscommentsBob Halley2020-07-201-0/+18
|
* Remove debugging print.Brian Wellington2020-07-081-1/+0
|
* Rework wire format processing.Bob Halley2020-07-021-4/+11
| | | | | | Wire format data is now done via a dns.wire.Parser, which does all of the bookkeeping and also provides convenience routines (e.g. get_uint16() or get_name()).
* more coverage improvementsBob Halley2020-06-291-0/+16
|
* test CH ABob Halley2020-06-231-0/+13
|
* fix indentation issue that let to pointless extra checkingBob Halley2020-06-191-2/+2
|
* misc rdata coverage improvementsBob Halley2020-06-191-2/+132
|
* add more rdata test coverageBob Halley2020-06-181-0/+49
|
* validate rdata replace()Bob Halley2020-06-181-0/+7
|
* some IDNA 2008 tests were not getting skipped if idna was not availableBob Halley2020-06-171-0/+2
|
* NSEC should NOT be downcased when canonicalized, nor should HIP or IPSECKEY; ↵Bob Halley2020-06-011-1/+20
| | | | test all
* RRSIG digestable might as well be right even if it is uselessBob Halley2020-06-011-2/+2
|
* Fix remaining canonical form problems, and add a test. [Issue #496]Bob Halley2020-06-011-0/+45
|
* Fix type registration for singleton types.Brian Wellington2020-05-191-0/+11
|
* Add IDNA codec support to tokenizer and dns.rdata.from_text()Bob Halley2020-05-031-0/+13
|
* finish commentBob Halley2020-05-031-1/+2
|
* Do not double-UTF-8 encode escapes in TXT-like records. [Issue #321]Bob Halley2020-05-031-0/+26
|
* Add dns.rdata.Rdata.to_generic()Brian Wellington2020-04-211-0/+13
|
* Add dns.rdata.Rdata.replace()Brian Wellington2020-04-021-0/+17
| | | | | | Now that Rdata instances are immutable, there needs to be a way to make a new Rdata based on an existing one. replace() creates a clone of the current Rdata, overriding fields with the specified parameters.
* fix tests broken by immutable rdata conversion (lists became tuples)Bob Halley2020-04-021-1/+1
|
* Improve assertion checking.Brian Wellington2020-03-181-5/+5
| | | | | This replaces lots of self.assertTrue() assertions with more specific assertions, such as replacing assertTrue(x == y) with assertEqual(x, y).
* TST: fix failUnlessRaises -> assertRaises deprecationThomas A Caswell2019-10-301-1/+1
| | | | failUnlessRaises was deprecated in py31
* TST: fix unittest deprecationThomas A Caswell2019-10-301-5/+5
| | | | failUnless was deprecated in py31
* update copyrightBob Halley2018-12-011-0/+2
|
* Initial type signaturesJanus2018-07-311-4/+1
|
* tests/test_rdata: fix pylint (relative-import)Tomas Krizek2018-07-181-3/+3
|
* Add a way to dynamically register an rdata module.Bob Halley2018-07-171-0/+16
|
* Adds tox and coverage.pyArthur Gautier2016-04-211-1/+4
| | | | Signed-off-by: Arthur Gautier <baloo@gandi.net>
* fix unicode ipaddr crashes in rdata.from_text and tokenizer.Tokenizer, fixes #41Thomas Waldmann2015-02-241-0/+33
also added unit tests for both issues.