diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2021-01-22 08:23:02 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-22 08:23:02 -0500 |
| commit | f95224c17011227f11346ea96c53c0746b35e4cc (patch) | |
| tree | 4d19a22553e98c5b1794255a6df4bcdc13bfb8dd /tests/topotests/example-test/test_template.py | |
| parent | fb06b39ca81fb850ec9e0a7e2c066dece8cdeb25 (diff) | |
| parent | 6bd548aa492f7b8fef287a741f42bf777660eacb (diff) | |
Merge pull request #7902 from opensourcerouting/topotest-marker
tests: Standardized Topotest PyTest Markers
Diffstat (limited to 'tests/topotests/example-test/test_template.py')
| -rw-r--r-- | tests/topotests/example-test/test_template.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/topotests/example-test/test_template.py b/tests/topotests/example-test/test_template.py index 4305e0199f..973303b830 100644 --- a/tests/topotests/example-test/test_template.py +++ b/tests/topotests/example-test/test_template.py @@ -44,6 +44,18 @@ from lib.topolog import logger from mininet.topo import Topo +#TODO: select markers based on daemons used during test +# pytest module level markers +""" +pytestmark = pytest.mark.bfdd # single marker +pytestmark = [ + pytest.mark.bgpd, + pytest.mark.ospfd, + pytest.mark.ospf6d +] # multiple markers +""" + + class TemplateTopo(Topo): "Test topology builder" |
