mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-12-29 05:19:00 +00:00
tests: Add pytest.mark.bfd
Add a mark to topotests that mark bfd tests. `pytest -k bfd` Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
parent
ea8885d54e
commit
1d0c76b74d
@ -64,7 +64,7 @@ class BFDTopo(Topo):
|
||||
switch.add_link(tgen.gears["r2"])
|
||||
switch.add_link(tgen.gears["r3"])
|
||||
|
||||
|
||||
@pytest.mark.bfd
|
||||
def setup_module(mod):
|
||||
"Sets up the pytest environment"
|
||||
tgen = Topogen(BFDTopo, mod.__name__)
|
||||
|
||||
@ -127,7 +127,7 @@ class TemplateTopo(Topo):
|
||||
switch.add_link(tgen.gears["rt4"], nodeif="eth-rt5")
|
||||
switch.add_link(tgen.gears["rt5"], nodeif="eth-rt4")
|
||||
|
||||
|
||||
@pytest.mark.bfd
|
||||
def setup_module(mod):
|
||||
"Sets up the pytest environment"
|
||||
tgen = Topogen(TemplateTopo, mod.__name__)
|
||||
|
||||
@ -77,7 +77,7 @@ class BFDProfTopo(Topo):
|
||||
switch.add_link(tgen.gears["r1"])
|
||||
switch.add_link(tgen.gears["r6"])
|
||||
|
||||
|
||||
@pytest.mark.bfd
|
||||
def setup_module(mod):
|
||||
"Sets up the pytest environment"
|
||||
tgen = Topogen(BFDProfTopo, mod.__name__)
|
||||
|
||||
@ -69,7 +69,7 @@ class BFDTopo(Topo):
|
||||
switch.add_link(tgen.gears["r2"])
|
||||
switch.add_link(tgen.gears["r4"])
|
||||
|
||||
|
||||
@pytest.mark.bfd
|
||||
def setup_module(mod):
|
||||
"Sets up the pytest environment"
|
||||
tgen = Topogen(BFDTopo, mod.__name__)
|
||||
|
||||
@ -70,7 +70,7 @@ class BFDTopo(Topo):
|
||||
switch.add_link(tgen.gears["r2"])
|
||||
switch.add_link(tgen.gears["r4"])
|
||||
|
||||
|
||||
@pytest.mark.bfd
|
||||
def setup_module(mod):
|
||||
"Sets up the pytest environment"
|
||||
tgen = Topogen(BFDTopo, mod.__name__)
|
||||
|
||||
@ -70,7 +70,7 @@ class BFDTopo(Topo):
|
||||
switch.add_link(tgen.gears["r2"])
|
||||
switch.add_link(tgen.gears["r4"])
|
||||
|
||||
|
||||
@pytest.mark.bfd
|
||||
def setup_module(mod):
|
||||
"Sets up the pytest environment"
|
||||
tgen = Topogen(BFDTopo, mod.__name__)
|
||||
|
||||
@ -3,6 +3,7 @@
|
||||
norecursedirs = .git example-test example-topojson-test lib docker
|
||||
markers =
|
||||
babel: Tests that run against BABEL
|
||||
bfd: Tests that run against BFDD
|
||||
eigrp: Tests that run against EIGRPD
|
||||
ldp: Tests that run against LDPD
|
||||
ospf: Tests that run against OSPF( v2 and v3 )
|
||||
|
||||
Loading…
Reference in New Issue
Block a user