'Execute a search and return the response.'

def _search(self, user_filter, course_filter=None):

    url = ((reverse('certificates:search') + '?user=') + user_filter)
    if course_filter:
        url += ('&course_id=' + course_filter)
    return self.client.get(url)
