Merge lp:~rockstar/launchpad/recipe-no-signer into lp:launchpad
Proposed by
Paul Hummer
on 2010-07-29
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Merged at revision: | 11258 | ||||
| Proposed branch: | lp:~rockstar/launchpad/recipe-no-signer | ||||
| Merge into: | lp:launchpad | ||||
| Diff against target: |
153 lines (+55/-8) 5 files modified
lib/lp/soyuz/interfaces/sourcepackagerelease.py (+4/-2) lib/lp/soyuz/model/sourcepackagerelease.py (+9/-1) lib/lp/soyuz/templates/archive-index.pt (+1/-1) lib/lp/soyuz/tests/test_sourcepackagerelease.py (+32/-0) lib/lp/testing/factory.py (+9/-4) |
||||
| To merge this branch: | bzr merge lp:~rockstar/launchpad/recipe-no-signer | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Tim Penhey (community) | conditional | 2010-07-29 | Approve on 2010-07-29 |
|
Review via email:
|
|||
Description of the Change
This branch just creates a SourcePackageRe
To post a comment you must log in.

Test case in lib/lp/ soyuz/tests/ test_sourcepack agerelease. py is missing a lot
of docstrings.
> def test_uploader_ no_uploader( self):
You shouldn't test for equality to None, use assertIs instead. assertIs( None, spr.uploader)
self.
Also don't split the lines if they don't need it.
> def test_uploader_ dsc_package( self):
Instead of testing against spr.dscsigningk ey.owner, just use 'owner' as you
created it in the test. It makes the test more obvious.
self. assertEqual( owner, spr.uploader)
> def test_uploader_ recipe( self):
Keep the assertEqual on one line.
Thanks for the other lint cleanup.