freeipa/ipatests/pytest_ipa/integration
Stanislav Levin 49e643783d dnspython: Add compatibility shim
`dnspython` 2.0.0 has many changes and several deprecations like:

```
> dns.resolver.resolve() has been added, allowing control of whether
search lists are used. dns.resolver.query() is retained for backwards
compatibility, but deprecated. The default for search list behavior can
be set at in the resolver object with the use_search_by_default
parameter. The default is False.

> dns.resolver.resolve_address() has been added, allowing easy
address-to-name lookups.
```

The new class `DNSResolver`:
- provides the compatibility layer
- defaults the previous behavior (the search list configured in the
  system's resolver configuration is used for relative names)
- defaults lifetime to 15sec (determines the number of seconds
  to spend trying to get an answer to the question)

Fixes: https://pagure.io/freeipa/issue/8383
Signed-off-by: Stanislav Levin <slev@altlinux.org>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
2020-08-31 09:46:03 +03:00
..
__init__.py ipatests: collect IPA_RENEWAL_LOCK file 2020-08-05 14:02:37 -04:00
config.py ipatests: Collect all logs on all Unix hosts 2020-04-28 17:50:10 +02:00
create_caless_pki.py ipatests: Add compatibility against python-cryptography 3.0 2020-08-06 10:13:52 -04:00
env_config.py Test installation with (fake) userspace FIPS 2019-11-14 16:01:15 +01:00
fips.py Test installation with (fake) userspace FIPS 2019-11-14 16:01:15 +01:00
firewall.py ipatests: Mark firewalld commands as no-op on non-firewalld distros 2020-04-08 16:33:35 +02:00
host.py Address issues found by new pylint 2.5.0 2020-04-30 09:41:41 +02:00
tasks.py dnspython: Add compatibility shim 2020-08-31 09:46:03 +03:00
transport.py Fix password file permission 2020-08-05 18:33:22 -04:00