Merge lp:~pitti/uci-engine/test_runner into lp:uci-engine
Proposed by
Martin Pitt
Status: | Merged |
---|---|
Approved by: | Vincent Ladeuil |
Approved revision: | 792 |
Merged at revision: | 793 |
Proposed branch: | lp:~pitti/uci-engine/test_runner |
Merge into: | lp:uci-engine |
Diff against target: |
15 lines (+3/-2) 1 file modified
test_runner/tstrun/tests/test_testbed.py (+3/-2) |
To merge this branch: | bzr merge lp:~pitti/uci-engine/test_runner |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Vincent Ladeuil (community) | Approve | ||
PS Jenkins bot (community) | continuous-integration | Approve | |
Review via email: mp+235431@code.launchpad.net |
Commit message
Fix test_runner test_wait_
Description of the change
Fix failing test_runner test case, see commit log.
To post a comment you must log in.
Urgh, I have the fix, uncommitted in my trunk :-(
=== modified file 'test_runner/ tstrun/ tests/test_ testbed. py' tstrun/ tests/test_ testbed. py 2014-08-24 21:27:36 +0000 tstrun/ tests/test_ testbed. py 2014-09-17 14:48:12 +0000
self. addCleanup( tb.teardown) es(testbed. TestBedExceptio n) as cm:
tb. setup() l('Instance never came up (last status: BUILD)', cm.exception) ) tb.instance. id) l(msg, unicode( cm.exception) )
--- test_runner/
+++ test_runner/
@@ -263,8 +263,9 @@
with self.assertRais
- self.assertEqua
- unicode(
+ msg = 'Instance {} never came up (last status: BUILD)'
+ msg = msg.format(
+ self.assertEqua
Since it's more precise (the instance id is known), would you mind using that instead ?