summaryrefslogtreecommitdiff
path: root/tests/test_rdata.py
Commit message (Collapse)AuthorAgeFilesLines
* 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.