Hard-code os-brick into TestQueries.openstack_projects

The elastic-recheck-tox-queries job is failing because
there is a query on an os-brick bug and the os-brick
project in launchpad is not part of the openstack project
group. This change simply hard-codes it since we know os-brick
is part of openstack.

Change-Id: Ia05c009226f88da427ec6ad9724410cd6ebed859
Story: 2006736
Task: 37197
This commit is contained in:
Matt Riedemann 2019-10-16 16:45:40 -04:00
parent 112e5a0202
commit 73a1e85c67

View File

@ -43,7 +43,10 @@ class TestQueries(tests.TestCase):
'production',
LPCACHEDIR)
self.openstack_projects = (self.get_group_projects('openstack') +
self.get_group_projects('oslo'))
self.get_group_projects('oslo') +
# Fix for story 2006737 since os-brick is
# not in the openstack group in launchpad.
['os-brick'])
def get_group_projects(self, group_name):
group = self.lp.project_groups[group_name]