mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-02 23:38:55 +00:00
Merge pull request #7911 from opensourcerouting/topotest-marker2
doc: fixed confusing examples in topotest marker doc
This commit is contained in:
commit
86fc0eb7d8
@ -40,8 +40,7 @@ incorrect markers will be rejected by reviewers.
|
||||
Registering markers
|
||||
^^^^^^^^^^^^^^^^^^^
|
||||
The Registration of new markers takes place in the file
|
||||
``tests/topotests/pytest.ini`` and should be discussed with members of the TSC
|
||||
beforehand.
|
||||
``tests/topotests/pytest.ini``:
|
||||
|
||||
.. code:: python3
|
||||
|
||||
@ -64,9 +63,9 @@ Adding a single marker:
|
||||
.. code:: python3
|
||||
|
||||
import pytest
|
||||
|
||||
...
|
||||
|
||||
# add after imports, before defining classes or functions:
|
||||
pytestmark = pytest.mark.bfdd
|
||||
|
||||
...
|
||||
@ -79,9 +78,9 @@ Adding multiple markers:
|
||||
.. code:: python3
|
||||
|
||||
import pytest
|
||||
|
||||
...
|
||||
|
||||
# add after imports, before defining classes or functions:
|
||||
pytestmark = [
|
||||
pytest.mark.bgpd,
|
||||
pytest.mark.ospfd,
|
||||
|
Loading…
Reference in New Issue
Block a user