def test_get_project_members(self):
    self.phab.project.search.return_value = test.mocks.phabricator.Result([{'id': 1, 'type': 'PROJ', 'phid': BITCOIN_ABC_PROJECT_PHID, 'attachments': {'members': {'members': [{'phid': 'PHID-USER-usernumber1'}, {'phid': 'PHID-USER-usernumber2'}, {'phid': 'PHID-USER-usernumber3'}]}}}])
    abc_members = self.phab.get_project_members(BITCOIN_ABC_PROJECT_PHID)
    self.phab.project.search.assert_called_with(constraints={'phids': [BITCOIN_ABC_PROJECT_PHID]}, attachments={'members': True})
    self.assertEqual(abc_members, ['PHID-USER-usernumber1', 'PHID-USER-usernumber2', 'PHID-USER-usernumber3'])
def test_get_project_members(self):
    self.phab.project.search.return_value = test.mocks.phabricator.Result([{'id': 1, 'type': 'PROJ', 'phid': BITCOIN_ABC_PROJECT_PHID, 'attachments': {'members': {'members': [{'phid': 'PHID-USER-usernumber1'}, {'phid': 'PHID-USER-usernumber2'}, {'phid': 'PHID-USER-usernumber3'}]}}}])
    abc_members = self.phab.get_project_members(BITCOIN_ABC_PROJECT_PHID)
    self.phab.project.search.assert_called_with(constraints={'phids': [BITCOIN_ABC_PROJECT_PHID]}, attachments={'members': True})
    self.assertEqual(abc_members, ['PHID-USER-usernumber1', 'PHID-USER-usernumber2', 'PHID-USER-usernumber3'])