tests: one more ipfix flush cli to api replacement 33/20333/4
authorVratko Polak <vrpolak@cisco.com>
Tue, 25 Jun 2019 17:01:34 +0000 (19:01 +0200)
committerPaul Vinciguerra <pvinci@vinciconsulting.com>
Tue, 25 Jun 2019 23:12:23 +0000 (23:12 +0000)
Type: fix
Fixes: 21b83e96d6076cda01ee80343840bc1166557150

Change-Id: I8216127ddbbf3301d2602bab54dbc433233387a2
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
test/test_nat.py

index ccc9be7..a678621 100644 (file)
@@ -2863,7 +2863,7 @@ class TestNAT44(MethodHolder):
         self.pg_start()
         self.pg1.assert_nothing_captured()
         sleep(1)
-        self.vapi.cli("ipfix flush")
+        self.vapi.ipfix_flush()
         capture = self.pg3.get_capture(9)
         ipfix = IPFIXDecoder()
         # first load template