From 8e9d00dda2904ea1e0bf0cc9d080b15d5630780c Mon Sep 17 00:00:00 2001 From: Amador Pahim Date: Mon, 26 Feb 2018 15:21:07 +0100 Subject: [PATCH] glib: remove legacy check This check was introduced in the previous draft of this plugin, when it was using gtester, and left over. Dropping. Signed-off-by: Amador Pahim --- optional_plugins/glib/avocado_glib/__init__.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/optional_plugins/glib/avocado_glib/__init__.py b/optional_plugins/glib/avocado_glib/__init__.py index 64c7ed91..85560305 100644 --- a/optional_plugins/glib/avocado_glib/__init__.py +++ b/optional_plugins/glib/avocado_glib/__init__.py @@ -90,10 +90,6 @@ class GLibLoader(loader.TestLoader): for test in result.stdout.splitlines(): test_name = "%s:%s" % (reference, test) - for item in avocado_suite: - if item[1]['name'] == test_name: - raise ValueError - if subtests_filter and not subtests_filter.search(test_name): continue avocado_suite.append((GLibTest, {'name': test_name})) -- GitLab