'Verify the endpoint returns HTTP status 400 if either the username or course_key querystring argument
is not provided.'

def test_get_with_missing_parameters(self):

    response = self.client.get(reverse(self.view_name))
    self.assertEqual(response.status_code, 400)
    self.assertDictEqual(response.data, {u'detail': u'Both    the    course_key    and    username    querystring    parameters    must    be    supplied.'})
