summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Change parameter order of low_level_address_tuple; add test coverage.asyncBob Halley2020-06-131-0/+15
|
* Add some comments about opportunities after 3.6 is not supported.Bob Halley2020-06-131-0/+1
|
* Re-enable TLS async tests.Bob Halley2020-06-121-27/+45
|
* fix nanonameserver after removal of dns.trioBob Halley2020-06-121-3/+16
|
* Attempt to cope with python 3.6 asyncio.Bob Halley2020-06-111-1/+8
|
* Support trio, curio, and asyncio with one API!Bob Halley2020-06-112-189/+219
|
* Fix leaked socket in testQueryTLSWithSocket.Brian Wellington2020-06-081-13/+13
|
* Allow a socket to be passed to udp(), and a stream to stream().Bob Halley2020-06-061-0/+44
|
* bail out early on ShortHeaderBob Halley2020-06-021-0/+3
|
* pass peer and connection type to nanoserver handle()Bob Halley2020-06-022-8/+19
|
* Refactor common code between UDP and TCP; add basic exception handlingBob Halley2020-06-021-22/+59
|
* Merge pull request #495 from rthalley/nanonameserverBob Halley2020-06-022-4/+243
|\ | | | | Nanonameserver
| * switch to relative import for nanonameservernanonameserverBob Halley2020-06-012-1/+195
| |
| * add nanonamserver, a handy testing toolBob Halley2020-05-311-4/+49
| |
* | NSEC should NOT be downcased when canonicalized, nor should HIP or IPSECKEY; ↵Bob Halley2020-06-011-1/+20
| | | | | | | | test all
* | Improvements to dns.rdata.to_wire().Brian Wellington2020-06-011-7/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This does two things. 1) Makes the file parameter optional, removing the requirement that callers create an io.BytesIO object if all they want is the bytes. This is done by renaming all of the rdata subclass to_wire() methods to _to_wire(), and making dns.rdata.to_wire() create the io.BytesIO internally if needed, and then delegate to the subclass. 2) Add canonicalize=False parameter, allowing code reuse for conversion to wire format and conversion to hashable format. This also removes all of the rdata subclass to_digestable routines that are no longer needed, as dns.rdata.to_digestable will work for all rdata types.
* | RRSIG digestable might as well be right even if it is uselessBob Halley2020-06-011-2/+2
| |
* | Adds sock parameters to query methods.Brian Wellington2020-06-011-0/+63
| | | | | | | | | | Allow passing a socket into dns.query.{udp,tcp,tls,udp_with_fallback}, and add tests for this.
* | Fix remaining canonical form problems, and add a test. [Issue #496]Bob Halley2020-06-011-0/+45
| |
* | remove digestable test in favor of another coming soonBob Halley2020-06-011-21/+0
| |
* | Lowercase SRV records in to_digestable(), fixes #496Nils Wisiol2020-06-011-0/+23
|/
* improve rrset and rdataset coverageBob Halley2020-05-301-0/+42
|
* WireData did not implement the iteration protocol correctly and was thus ↵Bob Halley2020-05-301-1/+12
| | | | uniterable.
* test cache hit with live resolverBob Halley2020-05-291-0/+10
|
* a bit more cache coverageBob Halley2020-05-281-0/+55
|
* only do multiple I/O backend testing for live tests, as testing everything 3 ↵Bob Halley2020-05-281-67/+71
| | | | times is pointless work
* make _Resolution coverage 100%Bob Halley2020-05-281-0/+55
|
* add one more live resolver test (for NXDOMAIN)Bob Halley2020-05-281-0/+9
|
* Merge pull request #491 from pspacek/test_resolver_nodataBob Halley2020-05-281-0/+18
|\ | | | | tests: resolver Nodata answers
| * tests: resolver Nodata answersPetr Špaček2020-05-281-0/+18
| |
* | tests: remove forgotten printsPetr Špaček2020-05-283-5/+0
|/
* further tighten resolve() default settingsBob Halley2020-05-272-6/+45
|
* increase test coverage for various thingsBob Halley2020-05-236-2/+140
|
* basic testing of entropy and resolver overrideBob Halley2020-05-232-0/+70
|
* revision of truncation handlingBob Halley2020-05-223-2/+98
|
* add NXDOMAIN cachingBob Halley2020-05-211-2/+44
|
* pop() with no arguements means last, but I used it intending firstBob Halley2020-05-211-2/+2
|
* do not run DoH tests if there is no networkBob Halley2020-05-211-1/+10
|
* test trio async codeBob Halley2020-05-211-0/+130
|
* add some basic resolution testingBob Halley2020-05-211-0/+13
|
* conform to Answer constructor changeBob Halley2020-05-201-1/+1
|
* move raise_on_no_error out of AnswerBob Halley2020-05-191-1/+1
|
* finish testing of resolver business logicBob Halley2020-05-191-15/+154
|
* start resolution business logic tests.Bob Halley2020-05-191-0/+148
|
* Fix type registration for singleton types.Brian Wellington2020-05-192-0/+15
|
* Create DNSKEY Flag enum.Brian Wellington2020-05-181-32/+6
| | | | | | | | | | | | The flags are defined in dnskeybase, and additionally visible in DNSKEY and CDNSKEY. Also, remove flags_to_text_set() and flags_from_text_set(). The DNSKEY record doesn't support text flags; this was leftover from the KEY record. Remove tests that are no longer needed, and update other tests for these changes.
* Remove extra whitespace.Brian Wellington2020-05-151-2/+0
|
* Improve consistency in DNSSEC code.Brian Wellington2020-05-152-6/+37
| | | | | | The make_ds method took its algorithm as a string, and the nsec3_hash method took an algorithm as an int. Change both of them to accept either, and add enums for both sets of algorithms.
* Allow resolver-level control over the defaulting of search (default False).Bob Halley2020-05-151-1/+17
|
* Add resolver resolve(), deprecate query().Bob Halley2020-05-152-1/+20
|