Skip to content

Commit

Permalink
Merge pull request #15389 from opensourcerouting/fix/add_mgmtd_pytest…
Browse files Browse the repository at this point in the history
…_marker

doc: Add `mgmtd` pytest marker into documentation
  • Loading branch information
choppsv1 authored Feb 19, 2024
2 parents 311eac5 + ce33422 commit 29a0c1c
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 29a0c1c

Please sign in to comment.