Skip to content

Commit

Permalink
doc: Add mgmtd pytest marker into documentation
Browse files Browse the repository at this point in the history
Signed-off-by: Donatas Abraitis <[email protected]>
  • Loading branch information
ton31337 committed Feb 17, 2024
1 parent 2fd5e51 commit ce33422
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions doc/developer/topotests-markers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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():
Expand All @@ -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():
Expand Down

0 comments on commit ce33422

Please sign in to comment.