mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-04 15:30:02 +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.
|
||||
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):
|
||||
|
@ -24,6 +24,7 @@ markers =
|
||||
sharpd: Tests that run against SHARPD
|
||||
staticd: Tests that run against STATICD
|
||||
vrrpd: Tests that run against VRRPD
|
||||
snmp: Tests that run against snmp changes
|
||||
|
||||
[topogen]
|
||||
# Default configuration values
|
||||
|
@ -46,6 +46,8 @@ from lib.snmptest import SnmpTester
|
||||
# Required to instantiate the topology builder class.
|
||||
from mininet.topo import Topo
|
||||
|
||||
pytestmark = [pytest.mark.bgpd, pytest.mark.isisd, pytest.mark.snmp]
|
||||
|
||||
|
||||
class TemplateTopo(Topo):
|
||||
"Test topology builder"
|
||||
|
Loading…
Reference in New Issue
Block a user