Merge lp:~jtv/launchpad/bug-489068 into lp:launchpad
Proposed by
Jeroen T. Vermeulen
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Jeroen T. Vermeulen | ||||
Approved revision: | not available | ||||
Merged at revision: | not available | ||||
Proposed branch: | lp:~jtv/launchpad/bug-489068 | ||||
Merge into: | lp:launchpad | ||||
Diff against target: |
32 lines (+9/-4) 1 file modified
lib/devscripts/ec2test/instance.py (+9/-4) |
||||
To merge this branch: | bzr merge lp:~jtv/launchpad/bug-489068 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Stuart Bishop (community) | Approve | ||
Michael Hudson-Doyle | code | Pending | |
Review via email: mp+15309@code.launchpad.net |
Commit message
Work around import problem in strict test environment (bug 489073).
To post a comment you must log in.
= Bug 489068 =
Testfix branch.
My test for the EC2 breakage (bug 488695) is breaking because credentials.py imports boto, which apparently isnt' available in our test environment.
Luckily, the import from credentials.py is only needed in the one factory method that my test doesn't use. So as I did with get_lp_login, I can move the import into that factory. That way the test skips them.
{{{
./bin/test -vv -t ec2instance
}}}
Jeroen