Commit 17df893d authored by Matous Holinka's avatar Matous Holinka
Browse files

mh-bgp: test-suite was modified

parent 6e73e9a6
......@@ -4,13 +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 = (
"m11",
......@@ -38,13 +33,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