Merge lp:~salgado/launchpad/refactor-blueprints-tests into lp:launchpad
| Status: | Merged |
|---|---|
| Merged at revision: | 11998 |
| Proposed branch: | lp:~salgado/launchpad/refactor-blueprints-tests |
| Merge into: | lp:launchpad |
| Diff against target: |
368 lines (+180/-169) 2 files modified
lib/lp/blueprints/tests/test_hasspecifications.py (+180/-0) lib/lp/blueprints/tests/test_webservice.py (+0/-169) |
| To merge this branch: | bzr merge lp:~salgado/launchpad/refactor-blueprints-tests |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Henning Eggers (community) | code | 2010-11-29 | Approve on 2010-11-29 |
|
Review via email:
|
|||
Commit Message
[r=henninge]
Description of the Change
Some of the webservice tests for blueprints that were created in my previous
branch were thoroughly testing model code because it was not tested anywhere.
This branch moves such tests to another file and make them exercise the model
code directly rather than through the webservice.
| Guilherme Salgado (salgado) wrote : | # |
On Mon, 2010-11-29 at 16:59 +0000, Henning Eggers wrote:
> Review: Approve code
> Thanks for this clean-up. Please consider using assertContentEqual instead of "sorted" in assertNamesOfSp
Oops, I took your r=me on IRC as "I've no remarks, go ahead and land
it", so I didn't do that change. But I'll make sure to include it in my
next branch.
Thanks for the review!

Thanks for this clean-up. Please consider using assertContentEqual instead of "sorted" in assertNamesOfSp ecificationsAre .
Cheers, Henning