Commit 93733e85 authored by Matous Holinka's avatar Matous Holinka Committed by Ondřej Zajíček
Browse files

mh-ospf-vrf: test-suite was modified

parent 53c8dbcc
......@@ -4,12 +4,8 @@ import pickle
import pytest
from inspect import getsourcefile
current_dir = os.path.dirname(os.path.abspath(getsourcefile(lambda: 0)))
sys.path.insert(0, current_dir.rsplit(os.path.sep, 2)[0])
import tests.kernel as tk
sys.path.pop(0)
LIMIT = 60
EXPECTED_DEVICES = ("m1", "m2", "m3", "m4", "m5", "m6", "m7", "m8", "m9", "m10")
......@@ -20,13 +16,6 @@ def test_wait():
tk.wait(LIMIT)
@pytest.mark.skipif(tk.cf.save == False, reason="mode: save")
@pytest.mark.parametrize("exp_devs", EXPECTED_DEVICES)
def test_save_krt_tables(exp_devs):
tk.save_krt_routes("krt", exp_devs)
@pytest.mark.skipif(tk.cf.save == True, reason="mode: check")
@pytest.mark.parametrize("exp_devs", EXPECTED_DEVICES)
def test_check_krt_routes_timeout(exp_devs):
tk.check_krt_routes_timeout("krt", exp_devs)
def test_krt_tables(exp_devs):
tk.test_krt_routes("krt", exp_devs)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment