summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Wrap exceptions from rdata from_text() and from_wire().wrapBob Halley2020-07-261-8/+18
|
* increase TXT coverageBob Halley2020-07-261-0/+9
|
* increase rcode coverageBob Halley2020-07-261-0/+4
|
* more resolver override testingBob Halley2020-07-262-1/+80
|
* exercise entropy stirringBob Halley2020-07-261-0/+2
|
* increase EDNS coverageBob Halley2020-07-261-0/+21
|
* still more dnssec coverageBob Halley2020-07-261-1/+52
|
* more dnssec coverageBob Halley2020-07-261-5/+47
|
* improve dnssec coverageBob Halley2020-07-261-0/+40
|
* more easy coverage gainsBob Halley2020-07-251-0/+85
|
* more message coverageBob Halley2020-07-252-1/+19
|
* even on errors where we tolerate no question, check question if presentBob Halley2020-07-251-0/+12
|
* more minor resolver coverageBob Halley2020-07-251-4/+47
|
* more reversename coverageBob Halley2020-07-251-0/+5
|
* Bring rdataset to full coverage.Bob Halley2020-07-241-0/+41
|
* util coverageBob Halley2020-07-241-0/+102
|
* test cleanups and more coverageBob Halley2020-07-241-63/+84
|
* bring rdata.py to full coverageBob Halley2020-07-242-2/+76
|
* test style improvementsBob Halley2020-07-231-23/+13
|
* Allow an escaped newline in a quoted string.Bob Halley2020-07-231-0/+8
|
* more tokenizer coverage improvementsBob Halley2020-07-231-0/+50
|
* more tokenizer test cleanupsBob Halley2020-07-231-53/+19
|
* more tokenizer coverageBob Halley2020-07-231-21/+24
|
* Add serial branch coverage; remove duplicated test.Bob Halley2020-07-231-3/+5
|
* cover compression table too big branchBob Halley2020-07-231-0/+24
|
* Improve name coverage slightly by testing the uts_46 branch in 2008 decode.Bob Halley2020-07-231-6/+24
| | | | | | I'm not sure how useful in practice this is, as we don't offer a codec configuration default for it, but I'm not sure you'd never do it, and the existing code was in the wrong order.
* add coverage for a v6 branch caseBob Halley2020-07-221-0/+6
|
* more resolver coverage improvementsBob Halley2020-07-221-2/+27
|
* Make resolver use_edns() conform to its docstring; slightly improve ↵Bob Halley2020-07-221-0/+10
| | | | use_edns() logic.
* Fix Answer constructor invocations that missed an API change.Bob Halley2020-07-221-4/+2
|
* Increase branch coverage of the resolver.Bob Halley2020-07-221-29/+96
| | | | | | | Speed up test resolver by around 6 seconds by mocking the clock. Improve the cleaning test to verify that it really was cleaning that removed the entry, and not get detecting the expiration.
* Merge pull request #550 from rthalley/resolve_chainingBob Halley2020-07-212-2/+60
|\ | | | | Unify Chaining Code
| * unify chaining codeBob Halley2020-07-212-2/+60
| |
* | Increase LOC coverage.Bob Halley2020-07-211-0/+27
|/
* Set EDNS default payload to 1232.Bob Halley2020-07-202-2/+6
|
* Fix resolver EDNS0 payload size when EDNS0 enabled by resolv.conf.Bob Halley2020-07-201-0/+1
| | | | [Issue #546]
* Merge pull request #543 from rthalley/commentsBob Halley2020-07-205-4/+67
|\ | | | | A way of doing comments
| * a way of doing commentscommentsBob Halley2020-07-205-4/+67
| |
* | Remove duplicates in the LOC sample data.Brian Wellington2020-07-201-3/+3
|/ | | | | | Some of these records were duplicates, which isn't all that useful for testing. Update some from the correct BIND sample files, and fix others to improve coverage testing.
* Add canonical_name() to async resolver too.Bob Halley2020-07-201-0/+20
|
* better test styleBob Halley2020-07-201-3/+3
|
* Add canonical_name() method to resolver.Bob Halley2020-07-201-0/+14
|
* cache statisticsBob Halley2020-07-191-0/+35
|
* Add dns.edns.register_type().Brian Wellington2020-07-171-0/+37
| | | | This allows an application to register a custom EDNS option type.
* Use the selectors module.Brian Wellington2020-07-172-23/+9
| | | | | | Previously, there was code to either use select.select or select.poll, depending on OS. This changes it to use the selectors module, using either SelectSelector or PollSelector, but sharing code otherwise.
* Add coverage for TCP/TLS async getsockname.Brian Wellington2020-07-081-0/+4
|
* Add support for receiving UDP queries.Brian Wellington2020-07-082-0/+31
| | | | | | | | | | | | | | The existing receive_udp() methods are only usable for receiving responses, as they require an expected destination and check that the message is from that destination. This change makes the expected destination (and hence the check) optional, and returns the address that the message was received from (in the sync case, this is only done if no destination is provided, for backwards compatibility). New tests are added, which required adding generic getsockname() support to the async backends.
* Don't read resolv.conf in tests that don't use it.Brian Wellington2020-07-084-9/+10
|
* Remove debugging print.Brian Wellington2020-07-081-1/+0
|
* Merge pull request #531 from bwelling/tsig2Bob Halley2020-07-071-8/+10
|\ | | | | Split TSIG sign and validate.