summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/component/__init__.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/component/__init__.py b/tests/component/__init__.py
index 115f995..9bc126d 100644
--- 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()