Merge lp://qastaging/~jml/libdep-service/test-double into lp://qastaging/libdep-service
Proposed by
Jonathan Lange
Status: | Merged |
---|---|
Approved by: | James Westby |
Approved revision: | 110 |
Merged at revision: | 52 |
Proposed branch: | lp://qastaging/~jml/libdep-service/test-double |
Merge into: | lp://qastaging/libdep-service |
Diff against target: |
486 lines (+408/-2) 8 files modified
buildout.cfg (+2/-0) djlibdep/test_double.py (+99/-0) djlibdep/tests/__init__.py (+3/-1) djlibdep/tests/_djangofixture.py (+86/-0) djlibdep/tests/test_interface.py (+77/-0) djlibdep/tests/test_test_double.py (+132/-0) setup.py (+6/-0) versions.cfg (+3/-1) |
To merge this branch: | bzr merge lp://qastaging/~jml/libdep-service/test-double |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
James Westby (community) | Approve | ||
Review via email:
|
Commit message
Add a network test double that can be used to test clients.
Description of the change
Adds a test double and interface tests for libdep-service.
To post a comment you must log in.
Hi,
We'll have to change this to not require the script to be at that relative
path before we can use the double elsewhere.
sys.executable -c "import sys; from pkg_resources import load_entry_point; sys.exit( load_entry_ point(' libdep- service= =$VERSION' , 'console_scripts', 'libdep- service- testd') ())"
seems like it should run the same thing.
Also, it would be to attach the output of the double as details.
All can be fixed later, so approving.
Thanks,
James