PROX VNF and TG
[yardstick.git] / tests / unit / benchmark / runner / test_base.py
index 0313ef8..956762c 100644 (file)
@@ -17,6 +17,7 @@ import time
 
 from mock import mock
 
+from yardstick.benchmark.runners.base import Runner
 from yardstick.benchmark.runners.iteration import IterationRunner
 
 
@@ -40,6 +41,12 @@ class RunnerTestCase(unittest.TestCase):
         actual_result = runner.get_output()
         self.assertEqual(idle_result, actual_result)
 
+    def test__run_benchmark(self):
+        runner = Runner(mock.Mock())
+
+        with self.assertRaises(NotImplementedError):
+            runner._run_benchmark(mock.Mock(), mock.Mock(), mock.Mock(), mock.Mock())
+
 
 def main():
     unittest.main()