From 95b68befc45c9f9a7ffe6d460ccdee355bd1258b Mon Sep 17 00:00:00 2001 From: ghanshyam Date: Thu, 1 Feb 2018 02:17:08 +0000 Subject: [PATCH] Skip puppet-* projects for plugin search openstack/puppet-* projects can be skipped to search for tempest plugin. Change-Id: I8ca7bd944f250b168077ffc8c82b9bddb338eddb --- tools/generate-tempest-plugins-list.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/tools/generate-tempest-plugins-list.py b/tools/generate-tempest-plugins-list.py index dd05438785..bbb9019442 100644 --- a/tools/generate-tempest-plugins-list.py +++ b/tools/generate-tempest-plugins-list.py @@ -75,11 +75,13 @@ r = urllib.urlopen(url) # json library won't choke. projects = sorted(filter(is_in_openstack_namespace, json.loads(r.read()[4:]))) -# Retrieve projects having no deb, ui or spec namespace as those namespaces -# do not contains tempest plugins. -projects_list = [i for i in projects if not (i.startswith('openstack/deb-') or - i.endswith('-ui') or - i.endswith('-specs'))] +# Retrieve projects having no deb, puppet, ui or spec namespace as those +# namespaces do not contains tempest plugins. +projects_list = [i for i in projects if not ( + i.startswith('openstack/deb-') or + i.startswith('openstack/puppet-') or + i.endswith('-ui') or + i.endswith('-specs'))] found_plugins = list(filter(has_tempest_plugin, projects_list))