Fixed project lists for retrieving tempest plugins
As openstack/deb-, -specs and -ui project namespaces do not contain tempest plugins. So, it is better to remove the above projects from the list in which tempest plugin is searched. Change-Id: Ie490073ea195a462cb7be0b88b6cb1b8a7b324b3
This commit is contained in:
parent
1f170f6a22
commit
3c81b41d11
@ -72,7 +72,13 @@ r = urllib.urlopen(url)
|
|||||||
# json library won't choke.
|
# json library won't choke.
|
||||||
projects = sorted(filter(is_in_openstack_namespace, json.loads(r.read()[4:])))
|
projects = sorted(filter(is_in_openstack_namespace, json.loads(r.read()[4:])))
|
||||||
|
|
||||||
found_plugins = list(filter(has_tempest_plugin, projects))
|
# 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'))]
|
||||||
|
|
||||||
|
found_plugins = list(filter(has_tempest_plugin, projects_list))
|
||||||
|
|
||||||
# Every element of the found_plugins list begins with "openstack/".
|
# Every element of the found_plugins list begins with "openstack/".
|
||||||
# We drop those initial 10 octets when printing the list.
|
# We drop those initial 10 octets when printing the list.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user