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:
parent
8f5bde370b
commit
e83d0dd58b
@ -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 = []
|
||||
|
Loading…
x
Reference in New Issue
Block a user