diff options
author | Ross Brattain <ross.b.brattain@intel.com> | 2017-07-13 03:19:54 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-07-13 03:19:54 +0000 |
commit | 96c151654bd4bd0fe469c11567f4d26b3d1e8dd2 (patch) | |
tree | fbf565e060f87bdf0e7d8a0d3885e6ab537bc709 /tests/unit/cmd | |
parent | f83729d38eb396fe5a94be13a86865f9cd26d0f4 (diff) | |
parent | 4eca49e30eb08becae65377bba8aa244a78c3eb5 (diff) |
Merge "NSBperf: fix bad sigint handler"
Diffstat (limited to 'tests/unit/cmd')
-rw-r--r-- | tests/unit/cmd/test_NSBperf.py | 2 |
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): |