Merge lp:~jtv/maas/maascli-fake-config 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: | 1218 |
Proposed branch: | lp:~jtv/maas/maascli-fake-config |
Merge into: | lp:~maas-committers/maas/trunk |
Diff against target: |
165 lines (+81/-44) 2 files modified
src/maascli/testing/config.py (+75/-0) src/maascli/tests/test_api.py (+6/-44) |
To merge this branch: | bzr merge lp:~jtv/maas/maascli-fake-config |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Raphaël Badin (community) | Approve | ||
Review via email: mp+128466@code.launchpad.net |
Commit message
Extract creation of a fake maascli ProfileConfig for testing.
Description of the change
This is one of those places where the code needed breaking up in order for my real work to progress. It has been remarked upon that the creation of the fake is really horrible code (or perhaps it's fairer to say that the data structure is horrible) and so I would like to avoid having to duplicate it in later tests for different modules.
Jeroen
To post a comment you must log in.
Attempt to merge into lp:maas failed due to conflicts:
text conflict in src/maascli/ tests/test_ api.py