Commit 6f62d6f3 authored by Laurent Bachelier's avatar Laurent Bachelier

Adapt test to new tree command output

parent 4fd7b920
......@@ -49,8 +49,8 @@ class BaseCLITest(TestCase):
self.beginCapture()
assert self.app.main(['ass2m_test', 'tree']) in (0, None)
output = self.endCapture()
assert re.match(re.escape(r'/') + r'\s+' + re.escape(r'all(irl-)'), output, re.S)
assert re.match(".+" + re.escape(r'/.ass2m/') + r'\s+' + re.escape(r'all(----)'), output, re.S)
assert re.match(re.escape(r'-/') + r'\s+' + re.escape(r'all(irl-)'), output, re.S)
assert re.match(".+" + re.escape(r'|-.ass2m/') + r'\s+' + re.escape(r'all(----)'), output, re.S)
def test_findRoot(self):
self.beginCapture()
......
Markdown is supported
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