projects
/
tools
/
git-buildpackage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0eeafba
)
ComponentTestBase: more verbose output in case of branch mismatch
author
Markus Lehtonen
<markus.lehtonen@linux.intel.com>
Tue, 27 Aug 2013 17:17:45 +0000
(20:17 +0300)
committer
Guido Günther
<agx@sigxcpu.org>
Wed, 4 Sep 2013 20:15:55 +0000
(22:15 +0200)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
tests/component/__init__.py
patch
|
blob
|
history
diff --git
a/tests/component/__init__.py
b/tests/component/__init__.py
index 115f9951223154ed2cb4822808a218ca4a5d11b9..9bc126dc1093dbad4c234221feb74de2bc0f3a97 100644
(file)
--- a/
tests/component/__init__.py
+++ b/
tests/component/__init__.py
@@
-121,7
+121,10
@@
class ComponentTestBase(object):
branch = repo.branch
assert branch == current_branch
assert repo.is_clean()
- assert set(repo.get_local_branches()) == set(branches)
+ local_branches = repo.get_local_branches()
+ assert_msg = "Branches: expected %s, found %s" % (branches,
+ local_branches)
+ assert set(local_branches) == set(branches), assert_msg
if files is not None:
# Get files of the working copy recursively
local = set()