mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 04:52:59 +01:00
Merge pull request #11387 from danpetry/tests/periph_rtt_testfix
tests/periph_rtt: Correct the test script syntax
This commit is contained in:
commit
cfde3f1596
@ -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+\)'
|
||||
|
Loading…
Reference in New Issue
Block a user