'Asserts the response is a valid response sent when the E-Commerce API is unavailable.'

def assertValidEcommerceInternalRequestErrorResponse(self, response):

    self.assertEqual(response.status_code, 500)
    actual = json.loads(response.content)['detail']
    self.assertIn('Call    to    E-Commerce    API    failed', actual)
