remove assertions on the return value of delete_all_flows
This function can no longer fail.
diff --git a/tests/flow_query.py b/tests/flow_query.py
index b205101..5c5954e 100644
--- a/tests/flow_query.py
+++ b/tests/flow_query.py
@@ -1582,8 +1582,7 @@
# Clear all flows from switch
logging.info("Deleting all flows from switch")
- rc = delete_all_flows(self.controller)
- self.assertEqual(rc, 0, "Failed to delete all flows")
+ delete_all_flows(self.controller)
# Get switch capabilites
@@ -1685,8 +1684,7 @@
# Clear all flows from switch
logging.info("Deleting all flows from switch")
- rc = delete_all_flows(self.controller)
- self.assertEqual(rc, 0, "Failed to delete all flows")
+ delete_all_flows(self.controller)
# Get switch capabilites
@@ -1801,8 +1799,7 @@
# Clear all flows from switch
logging.info("Deleting all flows from switch")
- rc = delete_all_flows(self.controller)
- self.assertEqual(rc, 0, "Failed to delete all flows")
+ delete_all_flows(self.controller)
# Get switch capabilites
@@ -1933,8 +1930,7 @@
# Clear all flows from switch
logging.info("Deleting all flows from switch")
- rc = delete_all_flows(self.controller)
- self.assertEqual(rc, 0, "Failed to delete all flows")
+ delete_all_flows(self.controller)
# Get switch capabilites
@@ -2055,8 +2051,7 @@
# Clear all flows from switch
logging.info("Deleting all flows from switch")
- rc = delete_all_flows(self.controller)
- self.assertEqual(rc, 0, "Failed to delete all flows")
+ delete_all_flows(self.controller)
# Get switch capabilites
@@ -2182,8 +2177,7 @@
# Clear all flows from switch
logging.info("Deleting all flows from switch")
- rc = delete_all_flows(self.controller)
- self.assertEqual(rc, 0, "Failed to delete all flows")
+ delete_all_flows(self.controller)
# Get switch capabilites
@@ -2309,8 +2303,7 @@
# Clear all flows from switch
logging.info("Deleting all flows from switch")
- rc = delete_all_flows(self.controller)
- self.assertEqual(rc, 0, "Failed to delete all flows")
+ delete_all_flows(self.controller)
# Get switch capabilites
@@ -2460,8 +2453,7 @@
# Clear all flows from switch
logging.info("Deleting all flows from switch")
- rc = delete_all_flows(self.controller)
- self.assertEqual(rc, 0, "Failed to delete all flows")
+ delete_all_flows(self.controller)
# Get switch capabilites
@@ -2553,8 +2545,7 @@
# Clear all flows from switch
logging.info("Deleting all flows from switch")
- rc = delete_all_flows(self.controller)
- self.assertEqual(rc, 0, "Failed to delete all flows")
+ delete_all_flows(self.controller)
# Get switch capabilites
@@ -2669,8 +2660,7 @@
# Clear all flows from switch
logging.info("Deleting all flows from switch")
- rc = delete_all_flows(self.controller)
- self.assertEqual(rc, 0, "Failed to delete all flows")
+ delete_all_flows(self.controller)
# Get switch capabilites
@@ -2793,8 +2783,7 @@
# Clear all flows from switch
logging.info("Deleting all flows from switch")
- rc = delete_all_flows(self.controller)
- self.assertEqual(rc, 0, "Failed to delete all flows")
+ delete_all_flows(self.controller)
# Get switch capabilites
@@ -2950,8 +2939,7 @@
# Clear all flows from switch
logging.info("Deleting all flows from switch")
- rc = delete_all_flows(self.controller)
- self.assertEqual(rc, 0, "Failed to delete all flows")
+ delete_all_flows(self.controller)
# Get switch capabilites