added -quick options to skip long tests
This commit is contained in:
1 parent
10fdd01dc8
commit
c5da46f125
6 files changed
+12
No files matched your search
@@ -6,9 +6,11 @@ Test for linearbandwidth.py
|
||||
|
||||
import unittest
|
||||
import pexpect
|
||||
import sys
|
||||
|
||||
class testLinearBandwidth( unittest.TestCase ):
|
||||
|
||||
@unittest.skipIf( '-quick' in sys.argv, 'long test' )
|
||||
def testLinearBandwidth( self ):
|
||||
"Verify that bandwidth is monotonically decreasing as # of hops increases"
|
||||
p = pexpect.spawn( 'python -m mininet.examples.linearbandwidth' )
|
||||
|
||||
Reference in new issue
Block a user