Skip to content
Snippets Groups Projects
Commit a722a3a1 authored by lantz's avatar lantz
Browse files

Update test_simpleperf.py

Add spaces.
parent f2942a7f
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,7 @@ def testE2E( self ):
# check ping results
p.expect( "Results: (\d+)% dropped", timeout=120 )
loss = int( p.match.group( 1 ) )
self.assertTrue(0 < loss < 100)
self.assertTrue( 0 < loss < 100 )
# check iperf results
p.expect( "Results: \['([\d\.]+) .bits/sec", timeout=480 )
bw = float( p.match.group( 1 ) )
......@@ -46,7 +46,7 @@ def testTopo( self ):
m = re.search( expectStr, output )
loss = int( m.group( 3 ) )
net.stop()
self.assertTrue(0 < loss < 100)
self.assertTrue( 0 < loss < 100 )
if __name__ == '__main__':
setLogLevel( 'warning' )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment