Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str Assign NameStore ListLoad Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign NameStore Call NameLoad For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword NameLoad keyword Num keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str keyword Str keyword Str keyword Str keyword Str keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str keyword Str keyword Str keyword Str keyword Str keyword NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign AttributeStore NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str keyword Str keyword Num keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str keyword Str keyword Num keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad keyword Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad keyword Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Str Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Str keyword Num Expr Call AttributeLoad NameLoad attr NameLoad Str keyword Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad Str keyword Num keyword Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str Dict Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str TupleLoad Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Dict Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Dict Str Str Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore ListLoad Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign NameStore Call NameLoad For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword NameLoad keyword Num keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str keyword Str keyword Str keyword Str keyword Str keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str keyword Str keyword Str keyword Str keyword Str keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str keyword Str keyword Str keyword Str keyword Str keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str keyword Str keyword Str keyword Str keyword Str keyword NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign AttributeStore NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str keyword Str keyword Num keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str keyword Str keyword Num keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad keyword Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad keyword Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Str Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Str keyword Num Expr Call AttributeLoad NameLoad attr NameLoad Str keyword Num decorator_list Call NameLoad keyword NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad Str keyword Num keyword Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list Call NameLoad keyword NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str Dict Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str TupleLoad Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Dict Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Dict Str Str Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list Call NameLoad keyword NameLoad decorator_list
N/A django.contrib.auth.models User django.test TestCase django.core.urlresolvers reverse django.test.utils override_settings lfs.catalog.models Product lfs.cart.models Cart lfs.cart.models CartItem lfs.core.models Country lfs.core.utils get_default_shop lfs.customer.models Customer lfs.addresses.models Address lfs.payment.models PaymentMethod lfs.payment.settings BY_INVOICE lfs.shipping.models ShippingMethod lfs.tax.models Tax CheckoutAddressesTestCase N/A TestCase N/A N/A Test localization of addresses on OnePageCheckoutForm.
     N/A fixtures N/A lfs_shop.xml setUp N/A N/A self N/A N/A N/A N/A ie N/A N/A N/A Country objects get code ie N/A us N/A N/A N/A Country objects get code us N/A shop N/A get_default_shop N/A ic N/A N/A N/A Country objects all N/A N/A N/A N/A N/A shop invoice_countries add ic N/A N/A N/A shop save N/A tax N/A N/A N/A Tax objects create rate 19 N/A shipping_method N/A N/A N/A ShippingMethod objects create name Standard active True price 1.0 tax tax N/A N/A self by_invoice N/A N/A N/A PaymentMethod objects get pk BY_INVOICE N/A address1 N/A N/A N/A Address objects create firstname John lastname Doe company_name Doe Ltd. line1 Street 42 city Gotham City zip_code 2342 country ie N/A address2 N/A N/A N/A Address objects create firstname Jane lastname Doe company_name Doe Ltd. line1 Street 43 city Smallville zip_code 2443 country us N/A N/A self username joe N/A N/A self password bloggs N/A new_user N/A User username N/A self username N/A N/A N/A new_user set_password N/A self password N/A N/A N/A new_user save N/A N/A self customer N/A N/A N/A Customer objects create user new_user selected_shipping_method shipping_method selected_payment_method N/A self by_invoice selected_shipping_address address1 selected_invoice_address address2 default_shipping_address address1 default_invoice_address address2 N/A N/A self PRODUCT1_NAME Surfboard N/A p1 N/A N/A N/A Product objects create name N/A self PRODUCT1_NAME slug product-1 sku sku-1 price 1.1 tax tax active True N/A p2 N/A N/A N/A Product objects create name Product 2 slug product-2 sku sku-2 price 2.2 tax tax active True N/A cart N/A N/A N/A Cart objects create user new_user N/A item N/A N/A N/A CartItem objects create cart cart product p1 amount 2 N/A item N/A N/A N/A CartItem objects create cart cart product p2 amount 3 N/A dump_response N/A N/A self http_response N/A N/A N/A fo N/A open tests_checkout_addresses.html w N/A N/A N/A fo write N/A str http_response N/A N/A N/A fo close N/A test_checkout_page_ie N/A N/A self N/A N/A N/A Tests that checkout page gets populated with correct details
         N/A logged_in N/A N/A N/A self client login username N/A self username password N/A self password N/A N/A N/A self assertEqual logged_in True N/A cart_response N/A N/A N/A self client get N/A reverse lfs_cart N/A N/A N/A self assertContains cart_response N/A self PRODUCT1_NAME status_code 200 N/A checkout_response N/A N/A N/A self client get N/A reverse lfs_checkout N/A N/A N/A self assertContains checkout_response Offaly status_code 200 N/A N/A N/A self assertContains checkout_response Washington status_code 200 N/A test_address_changed_on_checkout N/A N/A self N/A N/A N/A logged_in N/A N/A N/A self client login username N/A self username password N/A self password N/A N/A N/A self assertEqual logged_in True N/A N/A N/A self assertEquals N/A N/A N/A Address objects count 2 N/A cart_response N/A N/A N/A self client get N/A reverse lfs_cart N/A N/A N/A self assertContains cart_response N/A self PRODUCT1_NAME status_code 200 N/A checkout_response N/A N/A N/A self client get N/A reverse lfs_checkout N/A checkout_data N/A invoice-firstname invoice-lastname invoice-line1 invoice-line2 invoice-city invoice-state invoice-code invoice-country invoice-email invoice-phone shipping-firstname shipping-lastname shipping-line1 shipping-line2 shipping-city shipping-state shipping-code shipping-country shipping-email shipping-phone payment_method bob builder de company de street de area de town 12345 DE a@a.com 1234567 hans schmidt orianenberger strasse de town stuff BE 12345 DE b@b.com 7654321 N/A N/A self by_invoice id N/A checkout_post_response N/A N/A N/A self client post N/A reverse lfs_checkout checkout_data N/A N/A N/A self assertRedirects checkout_post_response N/A reverse lfs_thank_you status_code 302 target_status_code 200 N/A N/A N/A self assertEquals N/A N/A N/A Address objects count 4 N/A test_ajax_saves_address N/A N/A self N/A N/A N/A N/A N/A self assertEquals N/A N/A N/A Address objects count 2 N/A registration_response N/A N/A N/A self client post N/A reverse lfs_login N/A action email password_1 password_2 register test@test.com password password N/A N/A N/A self assertEquals N/A registration_response status_code 302 N/A N/A N/A self assertEquals N/A N/A registration_response _headers N/A location N/A Location http://testserver/ N/A our_customer N/A N/A N/A Customer objects get user__email test@test.com N/A N/A N/A self assertNotEqual our_customer None N/A N/A N/A self assertNotEqual N/A our_customer selected_invoice_address None N/A N/A N/A self assertNotEqual N/A our_customer selected_shipping_address None N/A N/A N/A self assertNotEqual N/A our_customer default_invoice_address None N/A N/A N/A self assertNotEqual N/A our_customer default_shipping_address None N/A N/A N/A self assertEquals N/A N/A N/A Address objects count 6 N/A form_data N/A invoice-country ie N/A ajax_respons N/A N/A N/A self client post N/A reverse lfs_changed_invoice_country form_data N/A N/A N/A self assertEquals N/A N/A N/A Address objects count 6 N/A our_customer N/A N/A N/A Customer objects get user__email test@test.com N/A N/A N/A self assertNotEqual N/A our_customer selected_invoice_address None N/A N/A N/A self assertNotEqual N/A our_customer selected_shipping_address None N/A form_data N/A invoice-line1 invoice-line2 invoice-city invoice-code invoice-state invoice-country my house a street a city a code a state ie N/A ajax_respons N/A N/A N/A self client post N/A reverse lfs_changed_invoice_country form_data N/A N/A N/A self assertEquals N/A N/A N/A Address objects count 6 N/A form_data N/A shipping-line1 shipping-country de missusesss house ie N/A ajax_respons N/A N/A N/A self client post N/A reverse lfs_changed_shipping_country form_data N/A N/A N/A self assertEquals N/A N/A N/A Address objects count 6 N/A our_customer N/A N/A N/A Customer objects get user__email test@test.com N/A N/A N/A self assertNotEqual N/A our_customer selected_invoice_address None N/A N/A N/A self assertNotEqual N/A our_customer selected_shipping_address None N/A form_data N/A shipping-firstname shipping-line2 shipping-city shipping-code shipping-state shipping-country charlize a street a city a code a state ie N/A ajax_respons N/A N/A N/A self client post N/A reverse lfs_changed_shipping_country form_data N/A N/A N/A self assertEquals N/A N/A N/A Address objects count 6 N/A N/A CheckoutAddressesNoAutoUpdateTestCase N/A TestCase N/A N/A Test localization of addresses on OnePageCheckoutForm while
    autoupdate of default addresses is disabled.
     N/A fixtures N/A lfs_shop.xml setUp N/A N/A self N/A N/A N/A N/A ie N/A N/A N/A Country objects get code ie N/A us N/A N/A N/A Country objects get code us N/A shop N/A get_default_shop N/A ic N/A N/A N/A Country objects all N/A N/A N/A N/A N/A shop invoice_countries add ic N/A N/A N/A shop save N/A tax N/A N/A N/A Tax objects create rate 19 N/A shipping_method N/A N/A N/A ShippingMethod objects create name Standard active True price 1.0 tax tax N/A N/A self by_invoice N/A N/A N/A PaymentMethod objects get pk BY_INVOICE N/A address1 N/A N/A N/A Address objects create firstname John lastname Doe company_name Doe Ltd. line1 Street 42 city Gotham City zip_code 2342 country ie N/A address2 N/A N/A N/A Address objects create firstname Jane lastname Doe company_name Doe Ltd. line1 Street 43 city Smallville zip_code 2443 country us N/A address3 N/A N/A N/A Address objects create firstname John lastname Doe company_name Doe Ltd. line1 Street 42 city Gotham City zip_code 2342 country ie N/A address4 N/A N/A N/A Address objects create firstname Jane lastname Doe company_name Doe Ltd. line1 Street 43 city Smallville zip_code 2443 country us N/A N/A self username joe N/A N/A self password bloggs N/A new_user N/A User username N/A self username N/A N/A N/A new_user set_password N/A self password N/A N/A N/A new_user save N/A N/A self customer N/A N/A N/A Customer objects create user new_user selected_shipping_method shipping_method selected_payment_method N/A self by_invoice selected_shipping_address address1 selected_invoice_address address2 default_shipping_address address3 default_invoice_address address4 N/A N/A self PRODUCT1_NAME Surfboard N/A p1 N/A N/A N/A Product objects create name N/A self PRODUCT1_NAME slug product-1 sku sku-1 price 1.1 tax tax active True N/A p2 N/A N/A N/A Product objects create name Product 2 slug product-2 sku sku-2 price 2.2 tax tax active True N/A cart N/A N/A N/A Cart objects create user new_user N/A item N/A N/A N/A CartItem objects create cart cart product p1 amount 2 N/A item N/A N/A N/A CartItem objects create cart cart product p2 amount 3 N/A dump_response N/A N/A self http_response N/A N/A N/A fo N/A open tests_checkout_addresses.html w N/A N/A N/A fo write N/A str http_response N/A N/A N/A fo close N/A test_checkout_page_ie N/A N/A self N/A N/A N/A Tests that checkout page gets populated with correct details
         N/A logged_in N/A N/A N/A self client login username N/A self username password N/A self password N/A N/A N/A self assertEqual logged_in True N/A cart_response N/A N/A N/A self client get N/A reverse lfs_cart N/A N/A N/A self assertContains cart_response N/A self PRODUCT1_NAME status_code 200 N/A checkout_response N/A N/A N/A self client get N/A reverse lfs_checkout N/A N/A N/A self assertContains checkout_response Offaly status_code 200 N/A N/A N/A self assertContains checkout_response Washington status_code 200 N/A N/A override_settings LFS_AUTO_UPDATE_DEFAULT_ADDRESSES False test_address_changed_on_checkout N/A N/A self N/A N/A N/A logged_in N/A N/A N/A self client login username N/A self username password N/A self password N/A N/A N/A self assertEqual logged_in True N/A N/A N/A self assertEquals N/A N/A N/A Address objects count 4 N/A cart_response N/A N/A N/A self client get N/A reverse lfs_cart N/A N/A N/A self assertContains cart_response N/A self PRODUCT1_NAME status_code 200 N/A checkout_response N/A N/A N/A self client get N/A reverse lfs_checkout N/A checkout_data N/A invoice-firstname invoice-lastname invoice-line1 invoice-line2 invoice-city invoice-state invoice-code invoice-country invoice-email invoice-phone shipping-firstname shipping-lastname shipping-line1 shipping-line2 shipping-city shipping-state shipping-code shipping-country shipping-email shipping-phone payment_method bob builder de company de street de area de town 12345 DE a@a.com 1234567 hans schmidt orianenberger strasse de town stuff BE 12345 DE b@b.com 7654321 N/A N/A self by_invoice id N/A checkout_post_response N/A N/A N/A self client post N/A reverse lfs_checkout checkout_data N/A N/A N/A self assertRedirects checkout_post_response N/A reverse lfs_thank_you status_code 302 target_status_code 200 N/A N/A N/A self assertEquals N/A N/A N/A Address objects count 6 N/A N/A override_settings LFS_AUTO_UPDATE_DEFAULT_ADDRESSES False test_ajax_saves_address N/A N/A self N/A N/A N/A N/A N/A self assertEquals N/A N/A N/A Address objects count 4 N/A registration_response N/A N/A N/A self client post N/A reverse lfs_login N/A action email password_1 password_2 register test@test.com password password N/A N/A N/A self assertEquals N/A registration_response status_code 302 N/A N/A N/A self assertEquals N/A N/A registration_response _headers N/A location N/A Location http://testserver/ N/A our_customer N/A N/A N/A Customer objects get user__email test@test.com N/A N/A N/A self assertNotEqual our_customer None N/A N/A N/A self assertNotEqual N/A our_customer selected_invoice_address None N/A N/A N/A self assertNotEqual N/A our_customer selected_shipping_address None N/A N/A N/A self assertNotEqual N/A our_customer default_invoice_address None N/A N/A N/A self assertNotEqual N/A our_customer default_shipping_address None N/A N/A N/A self assertEquals N/A N/A N/A Address objects count 8 N/A form_data N/A invoice-country ie N/A ajax_respons N/A N/A N/A self client post N/A reverse lfs_changed_invoice_country form_data N/A N/A N/A self assertEquals N/A N/A N/A Address objects count 8 N/A our_customer N/A N/A N/A Customer objects get user__email test@test.com N/A N/A N/A self assertNotEqual N/A our_customer selected_invoice_address None N/A N/A N/A self assertNotEqual N/A our_customer selected_shipping_address None N/A form_data N/A invoice-line1 invoice-line2 invoice-city invoice-code invoice-state invoice-country my house a street a city a code a state ie N/A ajax_respons N/A N/A N/A self client post N/A reverse lfs_changed_invoice_country form_data N/A N/A N/A self assertEquals N/A N/A N/A Address objects count 8 N/A form_data N/A shipping-line1 shipping-country de missusesss house ie N/A ajax_respons N/A N/A N/A self client post N/A reverse lfs_changed_shipping_country form_data N/A N/A N/A self assertEquals N/A N/A N/A Address objects count 8 N/A our_customer N/A N/A N/A Customer objects get user__email test@test.com N/A N/A N/A self assertNotEqual N/A our_customer selected_invoice_address None N/A N/A N/A self assertNotEqual N/A our_customer selected_shipping_address None N/A form_data N/A shipping-firstname shipping-line2 shipping-city shipping-code shipping-state shipping-country charlize a street a city a code a state ie N/A ajax_respons N/A N/A N/A self client post N/A reverse lfs_changed_shipping_country form_data N/A N/A N/A self assertEquals N/A N/A N/A Address objects count 8 N/A N/A override_settings LFS_AUTO_UPDATE_DEFAULT_ADDRESSES False N/A