Make the functional queries test work with python3

This seems to have been missed in the py3 conversion and seems to have
been broken for a while.

Change-Id: I9314ead6b0d14ed79ffd43c0f880daf57a014871
This commit is contained in:
Jens Harbott 2019-03-05 11:25:28 +00:00
parent 8f5bde370b
commit e83d0dd58b
1 changed files with 2 additions and 2 deletions

View File

@ -47,8 +47,8 @@ class TestQueries(tests.TestCase):
def get_group_projects(self, group_name):
group = self.lp.project_groups[group_name]
return map(lambda project: project.name,
group.projects)
return list(map(lambda project: project.name,
group.projects))
def test_launchpad(self):
bad_bugs = []