X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=test%2Ftest_nfvbench.py;h=4a8a574a65e115b89cd89c3194e348f5e9b99dfe;hb=95f2491ed89ac99b0d8bd006b4a13cbeb1eb96ce;hp=e41ab3383da8163aa233261951e684f1a5cc3871;hpb=97e6de93dc4de1b7724d659c213b5c09a25287d8;p=nfvbench.git diff --git a/test/test_nfvbench.py b/test/test_nfvbench.py index e41ab33..4a8a574 100644 --- a/test/test_nfvbench.py +++ b/test/test_nfvbench.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. # -from mock_trex import no_op - import json import logging import sys @@ -34,6 +32,7 @@ from nfvbench.traffic_client import IpBlock from nfvbench.traffic_client import TrafficClient import nfvbench.traffic_gen.traffic_utils as traffic_utils +from .mock_trex import no_op # just to get rid of the unused function warning no_op() @@ -331,7 +330,11 @@ def _get_dummy_tg_config(chain_type, rate, scc=1, fc=10, step_ip='0.0.0.1', 'cores': None, 'mbuf_factor': None, 'disable_hdrh': None, - 'mbuf_64': None + 'mbuf_64': None, + 'service_mode': False, + 'no_flow_stats': False, + 'no_latency_stats': False, + 'no_latency_streams': False })