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,11 +6,13 @@ Test for treeping64.py
|
||||
|
||||
import unittest
|
||||
import pexpect
|
||||
import sys
|
||||
|
||||
class testTreePing64( unittest.TestCase ):
|
||||
|
||||
prompt = 'mininet>'
|
||||
|
||||
@unittest.skipIf( '-quick' in sys.argv, 'long test' )
|
||||
def testTreePing64( self ):
|
||||
"Run the example and verify ping results"
|
||||
p = pexpect.spawn( 'python -m mininet.examples.treeping64' )
|
||||
|
||||
Reference in new issue
Block a user