Commit 5d407760 authored by Robert Loehning's avatar Robert Loehning
Browse files

Squish: Don't expect branches in "git show"



List of branches was disabled becaused it needed too long.
This feature might return in master

Change-Id: I065f2843f5b7328e0208e5bdcb7663dc8f8873fb
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
Reviewed-by: default avatarChristian Stenger <christian.stenger@digia.com>
parent b562d1a4
...@@ -101,8 +101,7 @@ def verifyClickCommit(): ...@@ -101,8 +101,7 @@ def verifyClickCommit():
show = str(diffShow.plainText) show = str(diffShow.plainText)
expected = [{"commit %s" % commit:False}, expected = [{"commit %s" % commit:False},
{"Author: Nobody <nobody@nowhere.com>": False}, {"Author: Nobody <nobody@nowhere.com>": False},
{"Date:\s+\w{3} \w{3} \d{1,2} \d{2}:\d{2}:\d{2} \d{4}.*":True}, {"Date:\s+\w{3} \w{3} \d{1,2} \d{2}:\d{2}:\d{2} \d{4}.*":True}]
{"Branches: master":False}]
for line, exp in zip(show.splitlines(), expected): for line, exp in zip(show.splitlines(), expected):
expLine = exp.keys()[0] expLine = exp.keys()[0]
isRegex = exp.values()[0] isRegex = exp.values()[0]
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment