X-Git-Url: https://git.efficios.com/?a=blobdiff_plain;f=tests%2Fdata%2Fauto-source-discovery%2Fgrouping%2Fbt_plugin_test.py;h=15b7d6021efb4c4971cc25568a947335043a9981;hb=538e1d9ff812c1382d33ab1b24855d7409f778b0;hp=a4d53dbd88d75b267badb2ed8b645e2698b69aaa;hpb=48ae3adefd0a46ca20082a4b237a6b6b96293278;p=babeltrace.git diff --git a/tests/data/auto-source-discovery/grouping/bt_plugin_test.py b/tests/data/auto-source-discovery/grouping/bt_plugin_test.py index a4d53dbd..15b7d602 100644 --- a/tests/data/auto-source-discovery/grouping/bt_plugin_test.py +++ b/tests/data/auto-source-discovery/grouping/bt_plugin_test.py @@ -66,13 +66,8 @@ class TestSourceExt(Base, bt2._UserSourceComponent, message_iterator_class=TestI elif name.startswith('bbb'): return {'weight': 0.5, 'group': 'bbb'} elif name.startswith('ccc'): - # Try two different ways of returning "no group", and two - # different ways of returning 1 (an int and a float). + # Try two different ways of returning 1 (an int and a float). if name[3] == '1': - return {'weight': 1, 'group': None} - elif name[3] == '2': - return {'weight': 1.0, 'group': None} - elif name[3] == '3': return 1 else: return 1.0