Merge lp:~mwhudson/launchpad/de-stupid-SpecificationDepCandidatesVocabulary into lp:launchpad
| Status: | Merged |
|---|---|
| Approved by: | Michael Hudson-Doyle on 2010-08-26 |
| Approved revision: | no longer in the source branch. |
| Merged at revision: | 11457 |
| Proposed branch: | lp:~mwhudson/launchpad/de-stupid-SpecificationDepCandidatesVocabulary |
| Merge into: | lp:launchpad |
| Diff against target: |
323 lines (+136/-71) 7 files modified
lib/lp/blueprints/browser/specificationdependency.py (+24/-26) lib/lp/blueprints/interfaces/specification.py (+1/-1) lib/lp/blueprints/stories/blueprints/xx-dependencies.txt (+1/-1) lib/lp/blueprints/stories/blueprints/xx-editing.txt (+3/-3) lib/lp/blueprints/stories/blueprints/xx-superseding.txt (+4/-5) lib/lp/blueprints/vocabularies/specificationdependency.py (+31/-35) lib/lp/blueprints/vocabularies/tests/test_specificationdependency.py (+72/-0) |
| To merge this branch: | bzr merge lp:~mwhudson/launchpad/de-stupid-SpecificationDepCandidatesVocabulary |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Tim Penhey (community) | 2010-08-26 | Approve on 2010-08-26 | |
|
Review via email:
|
|||
Commit Message
Improve test coverage and implementation of SpecificationDe
Description of the Change
Hi,
For linaro, I'm working on bug 3552. This branch consists of basic preparatory drive-by changes to the code that I'm going to be working on that needed to be made before I could look at it without vomiting.
In detail:
* Use higher level form machinery in the +linkdependency form
* remove a pointless getattr
* change blueprint page tests to not be sequential (luckily this was pretty easy)
* Add some direct tests for SpecificationDe
* Reimplement SpecificationDe
* Some other simple refactorings of SpecificationDe
Cheers,
mwh

Looks good. I think that assertEquals is simpler and more easily understood than assertThat(..., Equals(...)).