Merge lp:~jtv/maas/refresh-model-factory-renamings 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: | 2931 |
Proposed branch: | lp:~jtv/maas/refresh-model-factory-renamings |
Merge into: | lp:~maas-committers/maas/trunk |
Diff against target: |
420 lines (+53/-53) 13 files modified
src/maasserver/api/tests/test_enlistment.py (+3/-3) src/maasserver/api/tests/test_nodegroup.py (+3/-3) src/maasserver/api/tests/test_nodes.py (+1/-1) src/maasserver/models/tests/test_bootresource.py (+2/-2) src/maasserver/models/tests/test_bootsource.py (+1/-1) src/maasserver/models/tests/test_downloadprogress.py (+4/-4) src/maasserver/models/tests/test_network.py (+19/-19) src/maasserver/models/tests/test_node.py (+1/-1) src/maasserver/models/tests/test_nodegroupinterface.py (+1/-1) src/maasserver/models/tests/test_tag.py (+3/-3) src/maasserver/testing/factory.py (+12/-12) src/maasserver/tests/test_forms_downloadprogress.py (+2/-2) src/maasserver/views/tests/test_noderesult.py (+1/-1) |
To merge this branch: | bzr merge lp:~jtv/maas/refresh-model-factory-renamings |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Gavin Panella (community) | Approve | ||
Review via email: mp+233881@code.launchpad.net |
Commit message
Refresh renaming of model factory methods. Branches off pre-renaming versions of trunk are still landing.
Description of the change
The compatibility stubs are still there; the rate of influx of old-style names is still high enough that we can't remove them yet without inflicting pain on developers. There will probably be one or two more of these refresh branches before we remove the stubs.
The branch also renames a few more factories with compound names. I think they're specific enough that they're not really worth their own compatibility stubs.
Once the stubs are removed it'll be less confusing to (at last!) rename getRandomMACAddress etc.
Jeroen
To post a comment you must log in.