mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-08 07:37:29 +00:00
tests: Add pytest.mark.snmp
Add the ability to run snmp tests Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
parent
5ad1fd54a8
commit
b9a210f951
@ -47,7 +47,7 @@ from lib.snmptest import SnmpTester
|
|||||||
# Required to instantiate the topology builder class.
|
# Required to instantiate the topology builder class.
|
||||||
from mininet.topo import Topo
|
from mininet.topo import Topo
|
||||||
|
|
||||||
pytestmark = [pytest.mark.bgpd, pytest.mark.isisd]
|
pytestmark = [pytest.mark.bgpd, pytest.mark.isisd, pytest.mark.snmp]
|
||||||
|
|
||||||
|
|
||||||
class TemplateTopo(Topo):
|
class TemplateTopo(Topo):
|
||||||
|
@ -24,6 +24,7 @@ markers =
|
|||||||
sharpd: Tests that run against SHARPD
|
sharpd: Tests that run against SHARPD
|
||||||
staticd: Tests that run against STATICD
|
staticd: Tests that run against STATICD
|
||||||
vrrpd: Tests that run against VRRPD
|
vrrpd: Tests that run against VRRPD
|
||||||
|
snmp: Tests that run against snmp changes
|
||||||
|
|
||||||
[topogen]
|
[topogen]
|
||||||
# Default configuration values
|
# Default configuration values
|
||||||
|
@ -46,6 +46,8 @@ from lib.snmptest import SnmpTester
|
|||||||
# Required to instantiate the topology builder class.
|
# Required to instantiate the topology builder class.
|
||||||
from mininet.topo import Topo
|
from mininet.topo import Topo
|
||||||
|
|
||||||
|
pytestmark = [pytest.mark.bgpd, pytest.mark.isisd, pytest.mark.snmp]
|
||||||
|
|
||||||
|
|
||||||
class TemplateTopo(Topo):
|
class TemplateTopo(Topo):
|
||||||
"Test topology builder"
|
"Test topology builder"
|
||||||
|
Loading…
Reference in New Issue
Block a user