import platform
from functools import partial
+pytestmark = pytest.mark.pimd
+
# Save the Current Working Directory to find configuration files.
CWD = os.path.dirname(os.path.realpath(__file__))
sys.path.append(os.path.join(CWD, "../"))
host = tgen.gears[host_name]
config_host(host_name, host)
-@pytest.mark.pim
+
def setup_module(module):
"Setup topology"
tgen = Topogen(NetworkTopo, module.__name__)
import json
from functools import partial
+pytestmark = pytest.mark.pimd
+
# Save the Current Working Directory to find configuration files.
CWD = os.path.dirname(os.path.realpath(__file__))
sys.path.append(os.path.join(CWD, "../"))
##
#####################################################
-@pytest.mark.pim
+
def setup_module(module):
"Setup topology"
tgen = Topogen(NetworkTopo, module.__name__)
import datetime
import pytest
+pytestmark = pytest.mark.pimd
+
# Save the Current Working Directory to find configuration files.
CWD = os.path.dirname(os.path.realpath(__file__))
sys.path.append(os.path.join(CWD, "../"))
from time import sleep
import pytest
+pytestmark = pytest.mark.pimd
+
# Save the Current Working Directory to find configuration files.
CWD = os.path.dirname(os.path.realpath(__file__))
sys.path.append(os.path.join(CWD, "../"))
import json
from functools import partial
+pytestmark = pytest.mark.pimd
+
CWD = os.path.dirname(os.path.realpath(__file__))
sys.path.append(os.path.join(CWD, "../"))
sw.add_link(tgen.gears["r1"])
sw.add_link(tgen.gears["r3"])
-@pytest.mark.pim
+
def setup_module(mod):
"Sets up the pytest environment"
tgen = Topogen(PIMTopo, mod.__name__)