d72c652013
DNSPython does not allow IPs to have leading zeros for A records [1] and eventlet agrees [2], so we should ensure we do not create a situation where a project can DOS itself. This patch uses the DNSPython method to ensure it is kept in sync 1 - https://github.com/rthalley/dnspython/blob/v1.15.0/dns/ipv4.py#L52-L54 2 - https://github.com/eventlet/eventlet/blob/v0.20.0/eventlet/support/dns/ipv4.py#L52-L54 Partial-Bug: 1760833 Change-Id: I975b18d390647de9fe11c105cd421b761f88be6c |
||
---|---|---|
.. | ||
test_agent | ||
test_api | ||
test_backend | ||
test_central | ||
test_mdns | ||
test_metrics | ||
test_objects | ||
test_pool_manager | ||
test_producer | ||
test_scheduler | ||
README | ||
__init__.py | ||
test_pool.py | ||
test_service_status.py |
README
This directory contains pure unit tests. Examples: ostestr --regex designate.tests.test_unit python setup.py testr --coverage -t designate.tests.test_unit