Applications written with launchpadlib are hard to test
Bug #474791 reported by
Jamu Kakar
on 2009-11-04
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| launchpadlib |
High
|
Jamu Kakar |
Bug Description
I want to be able to write unit tests for my applications that use
launchpadlib. This is currently very difficult because launchpadlib
needs a working Launchpad API service in order to function.
Related branches
lp:~jkakar/launchpadlib/testing-support
- Leonard Richardson (community): Disapprove on 2009-11-17
-
Diff: 28362 lines6 files modified.bzrignore (+2/-0)
Makefile (+5/-0)
src/launchpadlib/testing/launchpad-wadl.xml (+27425/-0)
src/launchpadlib/testing/launchpad.py (+455/-0)
src/launchpadlib/testing/resources.py (+46/-0)
src/launchpadlib/testing/tests/test_launchpad.py (+394/-0)
lp:~jkakar/launchpadlib/fake-launchpad
- LAZR Developers: Pending requested 2010-05-30
-
Diff: 33196 lines (+33156/-0)6 files modified.bzrignore (+1/-0)
setup.py (+1/-0)
src/launchpadlib/testing/launchpad-wadl.xml (+32229/-0)
src/launchpadlib/testing/launchpad.py (+464/-0)
src/launchpadlib/testing/resources.py (+46/-0)
src/launchpadlib/testing/tests/test_launchpad.py (+415/-0)
lp:~jml/launchpadlib/fake-launchpad
- Jeroen T. Vermeulen (community): Approve on 2011-09-15
- Graham Binns (community): Approve (code) on 2011-09-14
-
Diff: 40484 lines (+40406/-5)8 files modified.bzrignore (+1/-0)
setup.py (+1/-0)
src/launchpadlib/testing/launchpad-wadl.xml (+39070/-0)
src/launchpadlib/testing/launchpad.py (+537/-0)
src/launchpadlib/testing/resources.py (+55/-0)
src/launchpadlib/testing/testing-wadl.xml (+346/-0)
src/launchpadlib/testing/tests/test_launchpad.py (+393/-0)
src/launchpadlib/tests/test_launchpad.py (+3/-5)
Jamu Kakar (jkakar) wrote : | #1 |
Changed in launchpadlib: | |
assignee: | nobody → Jamu Kakar (jkakar) |
status: | New → In Progress |
Robert Collins (lifeless)
on 2011-01-30
Changed in launchpadlib: | |
importance: | Undecided → High |
Martin Pool (mbp) wrote : | #2 |
istr seeing something like a dupe of this recently.
Martin Pool (mbp) wrote : | #3 |
I was thinking of bug 708771 which is a somewhat similar requirement, but not the same kind of implementation.
Jonathan Lange (jml)
on 2011-09-15
Changed in launchpadlib: | |
status: | In Progress → Fix Committed |
Robert Collins (lifeless) wrote : | #4 |
Ok, so we really need to do a release.
To post a comment you must log in.
You can get a readable diff with this command:
bzr diff -r ancestor:lp:launchpadlib `bzr st -S -r ancestor:lp:launchpadlib|cut -d ' ' -f 3|grep -v xml`|less