'Test whether get_problem_responses returns an appropriate status
message when users submit an invalid problem location.'

def test_get_problem_responses_invalid_location(self):

    url = reverse('get_problem_responses', kwargs={'course_id': unicode(self.course.id)})
    problem_location = ''
    response = self.client.post(url, {'problem_location': problem_location})
    res_json = json.loads(response.content)
    self.assertEqual(res_json, 'Could    not    find    problem    with    this    location.')
