Merge lp:~james-w/launchpad/fix-getRequestedReviews into lp:launchpad
| Status: | Merged |
|---|---|
| Approved by: | Graham Binns on 2010-03-02 |
| Approved revision: | no longer in the source branch. |
| Merged at revision: | not available |
| Proposed branch: | lp:~james-w/launchpad/fix-getRequestedReviews |
| Merge into: | lp:launchpad |
| Diff against target: |
52 lines (+27/-3) 2 files modified
lib/lp/code/model/hasbranches.py (+1/-1) lib/lp/code/stories/webservice/xx-branchmergeproposal.txt (+26/-2) |
| To merge this branch: | bzr merge lp:~james-w/launchpad/fix-getRequestedReviews |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Graham Binns (community) | code | Approve on 2010-03-02 | |
| Aaron Bentley (community) | 2010-03-01 | Needs Fixing on 2010-03-01 | |
|
Review via email:
|
|||
Commit Message
getRequestedReviews no longer returns the merge proposals owned by the person in question.
| James Westby (james-w) wrote : | # |
| Aaron Bentley (abentley) wrote : | # |
> It is however untested.
The test fails:
abentley@
Running canonical.
Set up canonical.
Set up canonical.
Set up canonical.
Set up canonical.
Set up canonical.
Set up canonical.
Set up canonical.
Set up canonical.
Set up canonical.
Failure in test lib/lp/
Failed doctest test for xx-branchmergep
File "lib/lp/
-------
File "lib/lp/
Failed example:
proposals = webservice.
Exception raised:
Traceback (most recent call last):
File "/home/
File "<doctest xx-branchmergep
File "/home/
File "/home/
File "/home/
File "/home/
File "/home/
File "/home/
return obj_info.
File "/home/
File "/home/
| James Westby (james-w) wrote : | # |
Hi,
The test now passes.
Thanks,
James
[ Code changes < 5 minutes, waiting for test set up + tear down ~ 8 minutes,
getting all the pieces in place to run the testsuite after not having done
so for a few weeks ~ 80 minutes ]

Hi,
This fixes a bug with my getRequestedReviews implementation, which
was basically that I fail at reading docstrings.
This switches it to use the method that matches what getRequestedReviews
says that it will do, and modifies the test so that it should set up
an environment that will distinguish the two.
It is however untested.
Thanks,
James