From ce334222ae4b386024f8e7ee400659f64c7fc126 Mon Sep 17 00:00:00 2001 From: Donatas Abraitis Date: Sat, 17 Feb 2024 11:24:29 +0200 Subject: [PATCH] doc: Add `mgmtd` pytest marker into documentation Signed-off-by: Donatas Abraitis --- doc/developer/topotests-markers.rst | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/doc/developer/topotests-markers.rst b/doc/developer/topotests-markers.rst index 9f92412595bd..670bf0d255d0 100644 --- a/doc/developer/topotests-markers.rst +++ b/doc/developer/topotests-markers.rst @@ -12,6 +12,7 @@ systems, all tests must be marked with at least one of the following markers: * eigrpd * isisd * ldpd +* mgmtd * nhrpd * ospf6d * ospfd @@ -64,12 +65,12 @@ Adding a single marker: import pytest ... - + # add after imports, before defining classes or functions: pytestmark = pytest.mark.bfdd - + ... - + def test_using_bfdd(): @@ -79,16 +80,16 @@ Adding multiple markers: import pytest ... - + # add after imports, before defining classes or functions: pytestmark = [ pytest.mark.bgpd, pytest.mark.ospfd, pytest.mark.ospf6d ] - + ... - + def test_using_bgpd_ospfd_ospf6d():