BugFix: Negative dropped packets in Prox tests
[yardstick.git] / tests / unit / network_services / vnf_generic / vnf / test_prox_vnf.py
index 09060ff..e29e8dd 100644 (file)
@@ -348,9 +348,9 @@ class TestProxApproxVnf(unittest.TestCase):
         prox_approx_vnf.resource_helper = resource_helper
 
         expected = {
-            'packets_in': 7,
+            'packets_in': 6,
             'packets_dropped': 1,
-            'packets_fwd': 6,
+            'packets_fwd': 7,
             'collect_stats': {'core': {'result': 234}},
         }
         result = prox_approx_vnf.collect_kpi()
@@ -376,7 +376,7 @@ class TestProxApproxVnf(unittest.TestCase):
         return file_path
 
     @mock.patch('yardstick.benchmark.scenarios.networking.vnf_generic.open', create=True)
-    @mock.patch('yardstick.network_services.vnf_generic.vnf.iniparser.open', create=True)
+    @mock.patch('yardstick.network_services.helpers.iniparser.open', create=True)
     @mock.patch(SSH_HELPER)
     def test_run_prox(self, ssh, *_):
         mock_ssh(ssh)