Revision b1497c9f nepa_test.py

View differences:

nepa_test.py
11 11
from parameters_parser import parameters
12 12
from network_builder import *
13 13
from test_code import *
14
from mininet.log import setLogLevel
14 15

  
15 16

  
16 17

  
......
36 37
        self.parser = ConfigParser.SafeConfigParser()
37 38
        self.parser.read(fileName)
38 39

  
39
        self.testName = stanza 
40
        self.testName = stanza
40 41
        if stanza not in self.parser.sections():
41 42
            error("Can not find configuration " + stanza \
42 43
                    + " in file " + fileName + "\n")
......
140 141
        net.setShortestRoutes()
141 142
    #CLI(net)
142 143
    graphname = networkGraph.split('/')[-1].split('.')[0]
143
    testPath = testName + "_" + graphname + "_" + str(int(time())) 
144
    testPath = testName + "_" + graphname + "_" + str(int(time()))
144 145
    for i in range(int(C.getConfigurations("times"))):
145 146
        info("+++++++ Round: "+str(i+1) + '\n')
146 147
        test = C.className(net, testPath, C.confParams)

Also available in: Unified diff