Merge lp:~jtv/maas/test-dhcp-config-with-proper-params into lp:~maas-committers/maas/trunk
Proposed by
Jeroen T. Vermeulen
Status: | Merged |
---|---|
Approved by: | Jeroen T. Vermeulen |
Approved revision: | no longer in the source branch. |
Merged at revision: | 2788 |
Proposed branch: | lp:~jtv/maas/test-dhcp-config-with-proper-params |
Merge into: | lp:~maas-committers/maas/trunk |
Prerequisite: | lp:~jtv/maas/dhcp-tests-preparatory-reorg |
Diff against target: |
349 lines (+155/-94) 5 files modified
src/provisioningserver/dhcp/testing/config.py (+40/-0) src/provisioningserver/dhcp/tests/test_config.py (+10/-20) src/provisioningserver/dhcp/tests/test_writer.py (+100/-57) src/provisioningserver/dhcp/writer.py (+1/-1) src/provisioningserver/tests/test_tasks.py (+4/-16) |
To merge this branch: | bzr merge lp:~jtv/maas/test-dhcp-config-with-proper-params |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Graham Binns (community) | Approve | ||
Review via email: mp+231832@code.launchpad.net |
Commit message
Make DHCP configuration tests at various levels randomise their DHCP configuration variables.
Description of the change
These changes were salvaged from another branch which I had to abandon because the approach didn't pan out. Some of them will probably smooth the way for IPv6 tests; others are just Better™.
Jeroen
To post a comment you must log in.
Looks good. You've got what looks like some code duplication in there, but nothing too heinous.