No easy way to run tests
Bug #999870 reported by
dobey
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
poauth | Status tracked in Trunk | |||||
Trunk |
Fix Released
|
High
|
dobey |
Bug Description
Currently, poauth has no run-tests script, and no integration with any test runners. Tests can be run by hand by running trial on the poauth directory for example, but we should not depend on twisted for this package. We should instead integrate with the "setup.py test" functionality available through setuptools.
Related branches
lp:~dobey/poauth/test-runner
- Mike McCracken (community): Approve
- Roberto Alsina (community): Approve (code review)
-
Diff: 655 lines (+157/-97)11 files modified.bzrignore (+7/-0)
COPYING (+1/-1)
MANIFEST.in (+1/-0)
poauth/client.py (+26/-16)
poauth/oauth.py (+23/-15)
poauth/server.py (+10/-14)
poauth/tests/test_client.py (+2/-1)
poauth/tests/test_oauth.py (+12/-10)
poauth/tests/test_server.py (+40/-38)
run-tests (+31/-0)
setup.py (+4/-2)
To post a comment you must log in.