designate/designate/tests/unit/test_mdns
Eric Larson b04466abe5 Add mdns unit tests for main service handler
At the midcycle we discussed improving the test suite. When writing
tests for ALIAS records, I ran into some dependencies that weren't
necessary. These tests are a start to allow small refactorings to
allow more incremental improvements to the code and require less
setup/teardown over time.

More specifically, this lazily loads the central api instance, allowing
it to be overridden in tests as well as providing clarification seen in
a comment regarding what DNS opcodes we actually support.

Change-Id: I065811c9cc22cd44d729f1578733514250cd3c71
2015-11-18 21:50:56 +00:00
..
test_handler.py Add mdns unit tests for main service handler 2015-11-18 21:50:56 +00:00