def test_group_members(self):
        groups = self.backend.group_members('g1')
        params = {'group': 'g1'}
        self.requests.get.assert_called_with('server/group_members',
                                             params=params, auth=self.auth)
        self.assertEqual(groups, self.requests.get().json())
Delegate fetching group members to remote server
dataset/ETHPy150Open mathcamp/pypicloud/tests/test_access_backends.py/TestRemoteBackend.test_group_members