use class decorators to mark tests that shouldn't be run by default
diff --git a/tests/basic.py b/tests/basic.py
index 862b6df..6ca8b18 100644
--- a/tests/basic.py
+++ b/tests/basic.py
@@ -117,6 +117,7 @@
'Response packet does not match send packet' +
' for port ' + str(of_port))
+@nonstandard
class PacketInDefaultDrop(base_tests.SimpleDataPlane):
"""
Test packet in function
@@ -125,8 +126,6 @@
in message is received from the controller for each
"""
- priority = -1
-
def runTest(self):
rc = delete_all_flows(self.controller)
self.assertEqual(rc, 0, "Failed to delete all flows")
@@ -152,6 +151,7 @@
'Packet in message received on port ' +
str(of_port))
+@nonstandard
class PacketInBroadcastCheck(base_tests.SimpleDataPlane):
"""
Check if bcast pkts leak when no flows are present
@@ -161,8 +161,6 @@
Look for the packet on other dataplane ports.
"""
- priority = -1
-
def runTest(self):
# Need at least two ports
self.assertTrue(len(config["port_map"]) > 1, "Too few ports for test")
@@ -281,6 +279,7 @@
set(of_ports).difference(dp_ports),
self)
+@disabled
class FlowStatsGet(base_tests.SimpleProtocol):
"""
Get stats
@@ -288,8 +287,6 @@
Simply verify stats get transaction
"""
- priority = -1
-
def runTest(self):
logging.info("Running StatsGet")
logging.info("Inserting trial flow")