Merge ~mpontillo/maas:refactor-plugin-tests into maas:master
Proposed by
Mike Pontillo
Status: | Merged |
---|---|
Approved by: | Mike Pontillo |
Approved revision: | 465230a7e58308b03c1b80ce3c06c7949a58d4ea |
Merge reported by: | MAAS Lander |
Merged at revision: | not available |
Proposed branch: | ~mpontillo/maas:refactor-plugin-tests |
Merge into: | maas:master |
Diff against target: |
146 lines (+17/-17) 2 files modified
src/provisioningserver/plugin.py (+6/-6) src/provisioningserver/tests/test_plugin.py (+11/-11) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Lee Trager (community) | Approve | ||
Review via email: mp+326391@code.launchpad.net |
Commit message
Refactor plugin.py to allow the reactor to be passed in.
Since the beaconing code will start a UDP/Multicast listener, this
change was necessary in order to ensure the reactor is left in a
clean state after these tests run.
To post a comment you must log in.
LGTM!