summaryrefslogtreecommitdiffstats
path: root/tests/unit
diff options
context:
space:
mode:
authorRoss Brattain <ross.b.brattain@intel.com>2017-07-13 03:19:54 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-07-13 03:19:54 +0000
commit96c151654bd4bd0fe469c11567f4d26b3d1e8dd2 (patch)
treefbf565e060f87bdf0e7d8a0d3885e6ab537bc709 /tests/unit
parentf83729d38eb396fe5a94be13a86865f9cd26d0f4 (diff)
parent4eca49e30eb08becae65377bba8aa244a78c3eb5 (diff)
Merge "NSBperf: fix bad sigint handler"
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/cmd/test_NSBperf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/cmd/test_NSBperf.py b/tests/unit/cmd/test_NSBperf.py
index 5bd248a84..e1b4da7fc 100644
--- a/tests/unit/cmd/test_NSBperf.py
+++ b/tests/unit/cmd/test_NSBperf.py
@@ -29,7 +29,7 @@ from yardstick.cmd import NSBperf
class TestHandler(unittest.TestCase):
def test_handler(self, test):
subprocess.call = mock.Mock(return_value=0)
- self.assertRaises(SystemExit, NSBperf.handler)
+ self.assertRaises(SystemExit, NSBperf.sigint_handler)
class TestYardstickNSCli(unittest.TestCase):