tests/periph_rtt: Correct the test script syntax

Previously the test was failing due to apparently incorrect Python syntax in
the testrunner script. This fix corrects this and the test now passes.
This commit is contained in:
danpetry 2019-04-12 11:34:14 +02:00
parent b0094a69af
commit b3ed7ade10

View File

@ -17,7 +17,7 @@ MAX_HELLOS = 5
def testfunc(child):
child.expect(r'This test will display \'Hello\' every (\d+) seconds')
period = int(child.match[1])
period = int(child.match.group(1))
child.expect_exact('Initializing the RTT driver')
child.expect(r'RTT now: \d+')
child.expect(r'Setting initial alarm to now \+ {} s \(\d+\)'