added -quick options to skip long tests

This commit is contained in:
Brian O'Connor
2013-09-11 14:45:49 -07:00
parent 10fdd01dc8
commit c5da46f125
6 changed files with 12 additions and 0 deletions
+2
View File
@@ -6,9 +6,11 @@ Test for limit.py
import unittest
import pexpect
import sys
class testLimit( unittest.TestCase ):
@unittest.skipIf( '-quick' in sys.argv, 'long test' )
def testLimit( self ):
"Verify that CPU limits are within a 2% tolerance of limit for each scheduler"
p = pexpect.spawn( 'python -m mininet.examples.limit' )