aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/network_services/libs
diff options
context:
space:
mode:
authorRoss Brattain <ross.b.brattain@intel.com>2018-03-02 19:26:45 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-03-02 19:26:45 +0000
commit932024f7d33c8915705cc857b75ce7ffbd234183 (patch)
tree65e92e916f33a82c980b1e9a96cecb24bf70a1e8 /tests/unit/network_services/libs
parent24a8c6d89f150666a37a3f8daba0fce7c17a436a (diff)
parent6cd3aed0077d6cced71417a48f92527ef1ecbd3e (diff)
Merge "Remove main() and __main__ from tests."
Diffstat (limited to 'tests/unit/network_services/libs')
-rw-r--r--tests/unit/network_services/libs/ixia_libs/test_IxNet.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/unit/network_services/libs/ixia_libs/test_IxNet.py b/tests/unit/network_services/libs/ixia_libs/test_IxNet.py
index 3f374fb50..2a97048aa 100644
--- a/tests/unit/network_services/libs/ixia_libs/test_IxNet.py
+++ b/tests/unit/network_services/libs/ixia_libs/test_IxNet.py
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-
# Copyright (c) 2016-2017 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -36,7 +34,7 @@ class TestIxNextgen(unittest.TestCase):
self.assertIsNone(ixnet_gen._bidir)
@mock.patch("yardstick.network_services.libs.ixia_libs.IxNet.IxNet.sys")
- def test_connect(self, mock_sys):
+ def test_connect(self, *args):
ixnet_gen = IxNextgen()
ixnet_gen.get_config = mock.MagicMock()