'Assert that the pages that require ENABLE_PAID_COURSE_REGISTRATION=True return a
HTTP 404 status code when we have this flag turned off'

@patch.dict('django.conf.settings.FEATURES', {'ENABLE_PAID_COURSE_REGISTRATION': False})
def test_disabled_paid_courses(self):

    self.login_user()
    self._assert_404(reverse('shoppingcart.views.show_cart', args=[]))
    self._assert_404(reverse('shoppingcart.views.clear_cart', args=[]))
    self._assert_404(reverse('shoppingcart.views.remove_item', args=[]), use_post=True)
    self._assert_404(reverse('shoppingcart.views.register_code_redemption', args=['testing']))
    self._assert_404(reverse('shoppingcart.views.use_code', args=[]), use_post=True)
    self._assert_404(reverse('shoppingcart.views.update_user_cart', args=[]))
    self._assert_404(reverse('shoppingcart.views.reset_code_redemption', args=[]), use_post=True)
    self._assert_404(reverse('shoppingcart.views.billing_details', args=[]))
