'Action returned from Tool Provider isn\'t supported.
`replaceResultRequest` is supported only.'

def test_unsupported_action(self):

    self.xmodule.verify_oauth_body_sign = Mock()
    request = Request(self.environ)
    request.body = self.get_request_body({'action': 'wrongAction'})
    response = self.xmodule.grade_handler(request, '')
    real_response = self.get_response_values(response)
    expected_response = {'action': None, 'code_major': 'unsupported', 'description': 'Target    does    not    support    the    requested    operation.', 'messageIdentifier': self.defaults['messageIdentifier']}
    self.assertEqual(response.status_code, 200)
    self.assertDictEqual(expected_response, real_response)
