Merge "Cleanup CGNAPT unit tests"
authorRodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
Mon, 25 Jun 2018 11:27:25 +0000 (11:27 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Mon, 25 Jun 2018 11:27:25 +0000 (11:27 +0000)
1  2 
yardstick/tests/unit/network_services/vnf_generic/vnf/test_cgnapt_vnf.py

@@@ -87,12 -83,10 +83,11 @@@ link 1 u
          ssh_helper = mock.Mock()
          scenario_helper = mock.Mock()
          scenario_helper.vnf_cfg = {'lb_config': 'HW'}
 +        scenario_helper.options = {}
          scenario_helper.all_options = {}
  
-         cgnat_approx_setup_helper = CgnaptApproxSetupEnvHelper(vnfd_helper,
-                                                                ssh_helper,
-                                                                scenario_helper)
+         cgnat_approx_setup_helper = cgnapt_vnf.CgnaptApproxSetupEnvHelper(
+             vnfd_helper, ssh_helper, scenario_helper)
  
          cgnat_approx_setup_helper.ssh_helper.provision_tool = mock.Mock(return_value='tool_path')
          cgnat_approx_setup_helper.ssh_helper.all_ports = mock.Mock()