summaryrefslogtreecommitdiff
path: root/tests/test_rdata.py
Commit message (Collapse)AuthorAgeFilesLines
* Pass kw from dns.rdata.to_text to _hexify and _base64ifyPeter Thomassen2021-01-051-0/+38
|
* test _as_* methodsBob Halley2020-09-011-0/+73
|
* check for TTL type errors in rdataset/rrset from_text; allow text-form TTLs ↵Bob Halley2020-09-011-0/+12
| | | | there.
* Adds SMIMEA record type, RFC 8162Nils Wisiol2020-08-271-0/+12
|
* use classmethod for Gateway factoriesBob Halley2020-08-261-15/+4
|
* remove _constify() uses; more complete checking of bitmap windows types like ↵Bob Halley2020-08-251-19/+19
| | | | NSEC
* Detect and reject attempts to use compressed names in the generic rdataBob Halley2020-08-211-0/+4
| | | | syntax of a known type.
* fix loc version not zero testBob Halley2020-08-041-1/+1
|
* LOC with version not 0 is a FORMERRBob Halley2020-08-041-0/+4
|
* Wrap exceptions from rdata from_text() and from_wire().wrapBob Halley2020-07-261-8/+18
|
* increase TXT coverageBob Halley2020-07-261-0/+9
|
* more easy coverage gainsBob Halley2020-07-251-0/+85
|
* util coverageBob Halley2020-07-241-0/+102
|
* bring rdata.py to full coverageBob Halley2020-07-241-2/+72
|
* test style improvementsBob Halley2020-07-231-23/+13
|
* Allow an escaped newline in a quoted string.Bob Halley2020-07-231-0/+8
|
* Increase LOC coverage.Bob Halley2020-07-211-0/+27
|
* 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.