MCPcopy Create free account
hub / github.com/mininet/mininet / testMinimal

Method testMinimal

mininet/test/test_nets.py:32–37  ·  view source on GitHub ↗

Ping test on minimal topology

( self )

Source from the content-addressed store, hash-verified

30 cleanup()
31
32 def testMinimal( self ):
33 "Ping test on minimal topology"
34 mn = Mininet( SingleSwitchTopo(), self.switchClass, Host, Controller,
35 waitConnected=True )
36 dropped = mn.run( mn.ping )
37 self.assertEqual( dropped, 0 )
38
39 def testSingle5( self ):
40 "Ping test on 5-host single-switch topology"

Callers

nothing calls this directly

Calls 3

runMethod · 0.95
MininetClass · 0.90
SingleSwitchTopoClass · 0.90

Tested by

no test coverage detected