X-Git-Url: https://git.efficios.com/?a=blobdiff_plain;f=tests%2Fplugins%2Fflt.lttng-utils.debug-info%2Ftest_lttng_utils_debug_info.py;h=a79ca479273e567807af6d899f76c0ebd87b127b;hb=61d96b89a9c8b3b523558a3c007c2aaedaba2a55;hp=31bd4ecdd4e62af42a79b177463314364106a780;hpb=1eda2e7260a750e6cce4bf89ba09681510663ae9;p=babeltrace.git diff --git a/tests/plugins/flt.lttng-utils.debug-info/test_lttng_utils_debug_info.py b/tests/plugins/flt.lttng-utils.debug-info/test_lttng_utils_debug_info.py index 31bd4ecd..a79ca479 100644 --- a/tests/plugins/flt.lttng-utils.debug-info/test_lttng_utils_debug_info.py +++ b/tests/plugins/flt.lttng-utils.debug-info/test_lttng_utils_debug_info.py @@ -29,11 +29,10 @@ class LttngUtilsDebugInfoTestCase(unittest.TestCase): trace_path = os.path.join(debug_info_data_path, 'trace') target_prefix = os.path.join(debug_info_data_path, '..', '..') src = bt2.ComponentSpec('ctf', 'fs', trace_path) - flt = bt2.ComponentSpec('lttng-utils', 'debug-info', { - 'target-prefix': target_prefix, - }) - it = bt2.TraceCollectionNotificationIterator(src, flt, - [bt2.EventNotification]) + flt = bt2.ComponentSpec( + 'lttng-utils', 'debug-info', {'target-prefix': target_prefix} + ) + it = bt2.TraceCollectionNotificationIterator(src, flt, [bt2.EventNotification]) notifs = list(it) debug_info = notifs[2].event['debug_info'] self.assertEqual(debug_info['bin'], 'libhello_so+0x14d4')