@override_settings(LFS_AUTO_UPDATE_DEFAULT_ADDRESSES=False)
    def test_checkout_page_ie(self):
        # login as our customer
        logged_in = self.client.login(username=self.username, password=self.password)
        self.assertEqual(logged_in, True)

        cart_response = self.client.get(reverse('lfs_cart'))
        self.assertContains(cart_response, self.PRODUCT1_NAME, status_code=200)

        checkout_response = self.client.get(reverse('lfs_checkout'))

        # we expect a list of irish counties in the response as we have an Irish shipping address
        self.assertContains(checkout_response, 'Offaly', status_code=200)

        # we expect a list of american states in the response as we have an Irish shipping address
        self.assertContains(checkout_response, 'Washington', status_code=200)
Tests that checkout page gets populated with correct details
dataset/ETHPy150Open diefenbach/django-lfs/lfs/checkout/tests/test_addresses.py/CheckoutAddressesNoAutoUpdateTestCase.test_checkout_page_ie