Revision b3454700

View differences:

nepa_test.py
1 1
#!/usr/bin/env python
2 2
import sys
3
from os import path
4
# add the nepa_test directory to sys path
5
sys.path.append(path.dirname(sys.argv[0]))
3 6
import ConfigParser
4 7
import inspect
5 8

  
6 9
sys.path.append('test_code')
7 10

  
8
from os import path
9 11
from time import time
10 12

  
11 13
from parameters_parser import parameters
network_builder.py
10 10
from mininet.node import CPULimitedHost
11 11
from mininet.link import TCLink
12 12

  
13
sys.path.append('community_networks_analysis')
13
from os import path
14
sys.path.append('%s/community_networks_analysis' % path.dirname(sys.argv[0]))
14 15

  
15 16
from gengraphs import loadGraph
16 17
from misclibs import showGraph

Also available in: Unified diff