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
Reviewer Review Type Date Requested Status
James Westby (community) Approve
Review via email: mp+126976@code.qastaging.launchpad.net

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.
Revision history for this message
James Westby (james-w) wrote :

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

review: Approve
Revision history for this message
ISD Branch Mangler (isd-branches-mangler) wrote :

The attempt to merge lp:~jml/libdep-service/test-double into lp:libdep-service failed. Below is the output from the failed tests.

Tree is up to date at revision 23 of branch bzr+ssh://bazaar.launchpad.net/+branch/ca-download-cache
Downloading file:///tmp/tmpHJ74Us/download-cache/dist/distribute-0.6.29DEV.tar.gz
Extracting in /tmp/tmplEkf6m
Now working in /tmp/tmplEkf6m/distribute-0.6.29DEV
Building a Distribute egg in /tmp/tmpHJ74Us/eggs
/tmp/tmpHJ74Us/eggs/distribute-0.6.29DEV-py2.7.egg
zip_safe flag not set; analyzing archive contents...
devportalbinary.testing: module references __file__
devportalbinary.acceptance.tests.__init__: module references __file__
devportalbinary.tests.test_aptfile: module references __file__
zip_safe flag not set; analyzing archive contents...
pyflakes.checker: module references __file__
pyflakes.checker: module references __path__
pyflakes.test.test_undefined_names: module references __file__
pyflakes.test.test_undefined_names: module references __path__
zip_safe flag not set; analyzing archive contents...
testresources.__init__: module MAY be using inspect.stack
Couldn't find index page for 'testscenarios' (maybe misspelled?)
While:
  Installing scripts.
  Getting distribution for 'testscenarios==0.3'.
Error: Couldn't find a distribution for 'testscenarios==0.3'.
make: *** [bin/py] Error 1

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches