def test_summary_without_address(request_cart_with_item, client):
 response = client.get(reverse('checkout:summary'))
 assert (response.status_code == 302)
 assert (get_redirect_location(response) == reverse('checkout:shipping-method'))

def test_summary_without_address ( request_cart_with_item , client ) : response = client . get ( reverse ( 'checkout:summary' ) ) assert ( response . status_code == 302 ) assert ( get_redirect_location ( response ) == reverse ( 'checkout:shipping-method' ) )
user tries to get summary step without saved shipping method - if is redirected to shipping method step .