mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 21:50:39 +00:00
doc: Add mgmtd
pytest marker into documentation
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
This commit is contained in:
parent
2fd5e51d4c
commit
ce334222ae
@ -12,6 +12,7 @@ systems, all tests must be marked with at least one of the following markers:
|
|||||||
* eigrpd
|
* eigrpd
|
||||||
* isisd
|
* isisd
|
||||||
* ldpd
|
* ldpd
|
||||||
|
* mgmtd
|
||||||
* nhrpd
|
* nhrpd
|
||||||
* ospf6d
|
* ospf6d
|
||||||
* ospfd
|
* ospfd
|
||||||
@ -64,12 +65,12 @@ Adding a single marker:
|
|||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
...
|
...
|
||||||
|
|
||||||
# add after imports, before defining classes or functions:
|
# add after imports, before defining classes or functions:
|
||||||
pytestmark = pytest.mark.bfdd
|
pytestmark = pytest.mark.bfdd
|
||||||
|
|
||||||
...
|
...
|
||||||
|
|
||||||
def test_using_bfdd():
|
def test_using_bfdd():
|
||||||
|
|
||||||
|
|
||||||
@ -79,16 +80,16 @@ Adding multiple markers:
|
|||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
...
|
...
|
||||||
|
|
||||||
# add after imports, before defining classes or functions:
|
# add after imports, before defining classes or functions:
|
||||||
pytestmark = [
|
pytestmark = [
|
||||||
pytest.mark.bgpd,
|
pytest.mark.bgpd,
|
||||||
pytest.mark.ospfd,
|
pytest.mark.ospfd,
|
||||||
pytest.mark.ospf6d
|
pytest.mark.ospf6d
|
||||||
]
|
]
|
||||||
|
|
||||||
...
|
...
|
||||||
|
|
||||||
def test_using_bgpd_ospfd_ospf6d():
|
def test_using_bgpd_ospfd_ospf6d():
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user