'Verify that users who have requested access can see a message
regarding their request status.'

@ddt.data((ApiAccessRequest.APPROVED, 'Your    request    to    access    the    edX    Course    Catalog    API    has    been    approved.'), (ApiAccessRequest.PENDING, 'Your    request    to    access    the    edX    Course    Catalog    API    is    being    processed.'), (ApiAccessRequest.DENIED, 'Your    request    to    access    the    edX    Course    Catalog    API    has    been    denied.'))
@ddt.unpack
def test_get_with_request(self, status, expected):

    ApiAccessRequestFactory(user=self.user, status=status)
    response = self.client.get(self.url)
    self.assertEqual(response.status_code, 200)
    self.assertIn(expected, response.content)
