'If the E-Commerce API raises an error, the view should return an HTTP 503 status.'

def test_ecommerce_api_error(self):

    with mock_create_basket(exception=exceptions.SlumberBaseException):
        response = self._post_to_view()
    self.assertValidEcommerceInternalRequestErrorResponse(response)
    self.assertUserNotEnrolled()
