summaryrefslogtreecommitdiffstats
path: root/tests/unit
diff options
context:
space:
mode:
authorRoss Brattain <ross.b.brattain@intel.com>2017-08-17 01:56:04 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-08-17 01:56:05 +0000
commit641b52820afd1c61261cda954803cc335b818ccc (patch)
tree3a81ef31953acfb51d1a60f282a049b6257df011 /tests/unit
parent95d9798e15d54270f73692b22b138b44f9defd7a (diff)
parent5421cf0bac5d0ecff13508bb488391cb043bae66 (diff)
Merge "run_traffic: capture and exit gracefully if crash in trex run_traffic"
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/network_services/vnf_generic/vnf/test_sample_vnf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/network_services/vnf_generic/vnf/test_sample_vnf.py b/tests/unit/network_services/vnf_generic/vnf/test_sample_vnf.py
index af0d2ddde..07a862a8e 100644
--- a/tests/unit/network_services/vnf_generic/vnf/test_sample_vnf.py
+++ b/tests/unit/network_services/vnf_generic/vnf/test_sample_vnf.py
@@ -1142,7 +1142,7 @@ class TestClientResourceHelper(unittest.TestCase):
}
@mock.patch('yardstick.network_services.vnf_generic.vnf.sample_vnf.LOG')
- @mock.patch('yardstick.network_services.vnf_generic.vnf.sample_vnf.STLStateError',
+ @mock.patch('yardstick.network_services.vnf_generic.vnf.sample_vnf.STLError',
new_callable=lambda: MockError)
def test_get_stats_not_connected(self, mock_state_error, mock_logger):
vnfd_helper = VnfdHelper({})