'Helper to make dummy results from the credentials API'

def make_credential_result(self, **kwargs):

    result = {'id': 1, 'username': 'dummy-username', 'credential': {'credential_id': None, 'program_uuid': None}, 'status': 'dummy-status', 'uuid': 'dummy-uuid', 'certificate_url': 'http://credentials.edx.org/credentials/dummy-uuid/'}
    result.update(**kwargs)
    return result
