aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/network_services/vnf_generic/vnf/test_acl_vnf.py
diff options
context:
space:
mode:
authorRoss Brattain <ross.b.brattain@intel.com>2018-03-01 15:11:03 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-03-01 15:11:03 +0000
commit9a71438273cefd57c652b6049c697bdf137088c8 (patch)
tree7ef9fe6f5e357eee8b77cd5c08df64bea915937c /tests/unit/network_services/vnf_generic/vnf/test_acl_vnf.py
parent14a0f0b13e37cf0a65603915b7c75b86fd4a4383 (diff)
parentd08a8d477fd7b9fb88855b12ee53eafa07e79afa (diff)
Merge "Import "traffic_profile" modules only once"
Diffstat (limited to 'tests/unit/network_services/vnf_generic/vnf/test_acl_vnf.py')
-rw-r--r--tests/unit/network_services/vnf_generic/vnf/test_acl_vnf.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unit/network_services/vnf_generic/vnf/test_acl_vnf.py b/tests/unit/network_services/vnf_generic/vnf/test_acl_vnf.py
index f9a10149e..a4055bf02 100644
--- a/tests/unit/network_services/vnf_generic/vnf/test_acl_vnf.py
+++ b/tests/unit/network_services/vnf_generic/vnf/test_acl_vnf.py
@@ -21,6 +21,7 @@ import os
from tests.unit import STL_MOCKS
from tests.unit.network_services.vnf_generic.vnf.test_base import mock_ssh
+from yardstick.common import utils
STLClient = mock.MagicMock()
@@ -312,7 +313,7 @@ class TestAclApproxVnf(unittest.TestCase):
acl_approx_vnf.ssh_helper.run.assert_called_once()
@mock.patch("yardstick.network_services.vnf_generic.vnf.acl_vnf.YangModel")
- @mock.patch("yardstick.network_services.vnf_generic.vnf.acl_vnf.find_relative_file")
+ @mock.patch.object(utils, 'find_relative_file')
@mock.patch("yardstick.network_services.vnf_generic.vnf.sample_vnf.Context")
@mock.patch(SSH_HELPER)
def test_instantiate(self, ssh, *args):