summaryrefslogtreecommitdiff
path: root/tests/topotests/bgp_large_community
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2021-07-28 09:37:28 -0400
committerDonald Sharp <sharpd@nvidia.com>2021-07-28 09:45:38 -0400
commitbf3a0a9a4b4bf0cd31da2aa93a4e03172860c3f2 (patch)
tree346b1d838c542b3403e403aef0b840f8c9109dd6 /tests/topotests/bgp_large_community
parent6ff492b194bd64cd7cec2dec774c2c15d3b9d8eb (diff)
tests: Add pytest.mark.bgpd for tests missing this mark
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'tests/topotests/bgp_large_community')
-rw-r--r--tests/topotests/bgp_large_community/test_bgp_large_community_topo_1.py3
-rw-r--r--tests/topotests/bgp_large_community/test_bgp_large_community_topo_2.py3
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/topotests/bgp_large_community/test_bgp_large_community_topo_1.py b/tests/topotests/bgp_large_community/test_bgp_large_community_topo_1.py
index 31fbdcd4b5..69eba23e0f 100644
--- a/tests/topotests/bgp_large_community/test_bgp_large_community_topo_1.py
+++ b/tests/topotests/bgp_large_community/test_bgp_large_community_topo_1.py
@@ -73,6 +73,9 @@ from lib.topolog import logger
from lib.bgp import verify_bgp_convergence, create_router_bgp, clear_bgp_and_verify
from lib.topojson import build_topo_from_json, build_config_from_json
+pytestmark = [pytest.mark.bgpd]
+
+
# Save the Current Working Directory to find configuration files.
CWD = os_path.dirname(os_path.realpath(__file__))
sys.path.append(os_path.join(CWD, "../"))
diff --git a/tests/topotests/bgp_large_community/test_bgp_large_community_topo_2.py b/tests/topotests/bgp_large_community/test_bgp_large_community_topo_2.py
index 84d9c48f35..b033c7e5cd 100644
--- a/tests/topotests/bgp_large_community/test_bgp_large_community_topo_2.py
+++ b/tests/topotests/bgp_large_community/test_bgp_large_community_topo_2.py
@@ -97,6 +97,9 @@ from lib.topolog import logger
from lib.bgp import verify_bgp_convergence, create_router_bgp, clear_bgp_and_verify
from lib.topojson import build_topo_from_json, build_config_from_json
+pytestmark = [pytest.mark.bgpd]
+
+
# Reading the data from JSON File for topology and configuration creation
jsonFile = "{}/bgp_large_community_topo_2.json".format(CWD)