From: Philippe Proulx Date: Tue, 14 Jun 2016 22:44:08 +0000 (-0400) Subject: Remove calibrate tests in Python bindings X-Git-Tag: v2.9.0-rc1~19 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=a9885fc75d77e8a91416e83a076fa5381a954c50;p=lttng-tools.git Remove calibrate tests in Python bindings Signed-off-by: Philippe Proulx Signed-off-by: Jérémie Galarneau --- diff --git a/extras/bindings/swig/python/tests/tests.py b/extras/bindings/swig/python/tests/tests.py index a4be98147..edfb5e205 100644 --- a/extras/bindings/swig/python/tests/tests.py +++ b/extras/bindings/swig/python/tests/tests.py @@ -233,9 +233,6 @@ class TestLttngPythonModule (unittest.TestCase): event.type=EVENT_TRACEPOINT event.loglevel_type=EVENT_LOGLEVEL_ALL - calib = Calibrate() - calib.type = CALIBRATE_FUNCTION - ctx = EventContext() ctx.type=EVENT_CONTEXT_PID @@ -255,10 +252,6 @@ class TestLttngPythonModule (unittest.TestCase): r = enable_event(han, event, None) self.assertGreaterEqual(r, 0, strerror(r)) - #Calibrate test - r = calibrate(han , calib) - self.assertGreaterEqual(r, 0, strerror(r)) - #Context test r = add_context(han, ctx, "sched_switch", "channel0") self.assertGreaterEqual(r, 0, strerror(r))