Merge lp:~jtv/launchpad/fakelibrarian-fixture into lp:launchpad
Proposed by
Jeroen T. Vermeulen
Status: | Merged |
---|---|
Approved by: | Jeroen T. Vermeulen |
Approved revision: | no longer in the source branch. |
Merged at revision: | 11463 |
Proposed branch: | lp:~jtv/launchpad/fakelibrarian-fixture |
Merge into: | lp:launchpad |
Diff against target: |
149 lines (+25/-23) 4 files modified
lib/lp/testing/__init__.py (+6/-3) lib/lp/testing/fakelibrarian.py (+9/-2) lib/lp/testing/tests/test_fakelibrarian.py (+8/-6) lib/lp/translations/utilities/tests/test_file_importer.py (+2/-12) |
To merge this branch: | bzr merge lp:~jtv/launchpad/fakelibrarian-fixture |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Julian Edwards (community) | Approve | ||
Review via email: mp+33892@code.launchpad.net |
Commit message
Make FakeLibrarian a fixture; ignore debugID parameter to create().
Description of the change
= Two FakeLibrarian improvements =
Two frankly unrelated fixes for the FakeLibrarian:
* It's now usable as as test fixture, as in TestCase.
* create() now ignores its debugID parameter to fix problems for Soyuz.
Also,
* TestCase.
To test:
{{{
./bin/test -vvc -m lp.testing.
./bin/test -vvc -m lp.translations
}}}
No lint that I had anything to do with. I did clean up some existing lint.
Jeroen
To post a comment you must log in.