Merge lp:~jml/lp-dev-utils/fix-tests into lp:lp-dev-utils
Proposed by
Jonathan Lange
on 2012-04-13
| Status: | Merged |
|---|---|
| Approved by: | Aaron Bentley on 2012-04-13 |
| Approved revision: | 112 |
| Merged at revision: | 107 |
| Proposed branch: | lp:~jml/lp-dev-utils/fix-tests |
| Merge into: | lp:lp-dev-utils |
| Diff against target: |
246 lines (+97/-25) 5 files modified
.bzrignore (+1/-0) .testr.conf (+3/-0) README (+42/-0) ec2test/tests/test_ec2instance.py (+48/-24) ec2test/tests/test_remote.py (+3/-1) |
| To merge this branch: | bzr merge lp:~jml/lp-dev-utils/fix-tests |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Aaron Bentley (community) | 2012-04-13 | Approve on 2012-04-13 | |
|
Review via email:
|
|||
Description of the Change
I wanted to add a --public-ip option so I can run 'ec2 demo' from Millbank. I didn't want to start without a passing test suite though. This gets us there.
Main issues:
* documenting that PYTHONPATH needs to be set (this lets the subprocesses spawned in the daemonization tests find the code that we're testing)
* removing the dependency on FakeMethod
To post a comment you must log in.
lp:~jml/lp-dev-utils/fix-tests
updated
on 2012-04-13
- 112. By Jonathan Lange on 2012-04-13
-
Set the PYTHONPATH when spawning the daemon in tests, thus eliminating the need
for an explicit PYTHONPATH when running tests.

This is a clear improvement.