Revision 51db2891

View differences:

test_code/ping.py
55 55
    def __init__(self, mininet, name, args):
56 56

  
57 57
        duration = int(args["duration"])
58
        super(pingRandomTest, self).__init__(mininet, duration)
59
        self.destination = self.net.value()[0].defaultIntf().ip
58
        super(pingNode0Test, self).__init__(mininet, duration)
59
        self.destination = self.net.values()[0].defaultIntf().ip
60 60
        self.setPrefix(name)
61 61

  

Also available in: Unified diff