Minor codecheck fixes
This commit is contained in:
+1
-1
@@ -55,7 +55,7 @@ def sshd( network, cmd='/usr/sbin/sshd', opts='-D',
|
|||||||
if not switch:
|
if not switch:
|
||||||
switch = network[ 's1' ] # switch to use
|
switch = network[ 's1' ] # switch to use
|
||||||
if not routes:
|
if not routes:
|
||||||
routes = [ '10.0.0.0/24' ]
|
routes = [ '10.0.0.0/24' ]
|
||||||
connectToRootNS( network, switch, ip, routes )
|
connectToRootNS( network, switch, ip, routes )
|
||||||
for host in network.hosts:
|
for host in network.hosts:
|
||||||
host.cmd( cmd + ' ' + opts + '&' )
|
host.cmd( cmd + ' ' + opts + '&' )
|
||||||
|
|||||||
@@ -9,7 +9,6 @@ TODO: missing xterm test
|
|||||||
import unittest
|
import unittest
|
||||||
import pexpect
|
import pexpect
|
||||||
import os
|
import os
|
||||||
from time import sleep
|
|
||||||
from mininet.util import quietRun
|
from mininet.util import quietRun
|
||||||
|
|
||||||
class testWalkthrough( unittest.TestCase ):
|
class testWalkthrough( unittest.TestCase ):
|
||||||
|
|||||||
Reference in New Issue
Block a user