diff --git a/mininet/net.py b/mininet/net.py index 4eb5c1a..57e1d56 100755 --- a/mininet/net.py +++ b/mininet/net.py @@ -375,11 +375,11 @@ class Mininet( object ): controller.stop() info( '*** Test complete\n' ) - def run( self, test, **params ): + def run( self, test, *args, **kwargs ): "Perform a complete start/test/stop cycle." self.start() info( '*** Running test\n' ) - result = getattr( self, test )( **params ) + result = test( *args, **kwargs ) self.stop() return result