tests: Support any character in the task brackets

This commit is contained in:
Tomas Babej 2015-03-28 01:05:30 +01:00
parent 0809f1cc87
commit 5aba848e19

View file

@ -112,7 +112,7 @@ class IntegrationTest(object):
# Helper function that fills in {uuid} placeholders with correct UUIDs
def fill_uuid(line):
# Tasks in testing can have only alphanumerical descriptions
match = re.match(r'\s*\* \[ \] (?P<desc>[a-zA-Z0-9 ]*)(?<!\s)', line)
match = re.match(r'\s*\* \[.\] (?P<desc>[a-zA-Z0-9 ]*)(?<!\s)', line)
if not match:
return line