Applications written with launchpadlib are hard to test
Bug #474791 reported by
Jamu Kakar
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
launchpadlib |
Fix Committed
|
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://staging/~jkakar/launchpadlib/testing-support
Rejected
for merging
into
lp://staging/launchpadlib
- Leonard Richardson (community): Disapprove
-
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://staging/~jkakar/launchpadlib/fake-launchpad
- LAZR Developers: Pending requested
-
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://staging/~jml/launchpadlib/fake-launchpad
- Jeroen T. Vermeulen (community): Approve
- Graham Binns (community): Approve (code)
-
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)
Changed in launchpadlib: | |
importance: | Undecided → High |
Changed in launchpadlib: | |
status: | In Progress → Fix Committed |
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