<s> def test_secure_false ( app , client ) : <EOL> app . config [ '<STR_LIT>' ] = False <EOL> client . get ( '<STR_LIT>' ) <EOL> cookie = client . get_session_cookie ( ) <EOL> assert not cookie . secure <EOL> def test_secure_true ( app , client ) : <EOL> app . config [ '<STR_LIT>' ] = True <EOL> client . get ( '<STR_LIT>' ) <EOL> cookie = client . get_session_cookie ( ) <EOL> assert cookie . secure <EOL> def test_httponly_false ( app , client ) : <EOL> app . config [ '<STR_LIT>' ] = False <EOL> client . get ( '<STR_LIT>' ) <EOL> cookie = client . get_session_cookie ( ) <EOL> assert not cookie . has_nonstandard_attr ( '<STR_LIT>' ) <EOL> def test_httponly_true ( app , client ) : <EOL> app . config [ '<STR_LIT>' ] = True <EOL> client . get ( '<STR_LIT>' ) <EOL> cookie = client . get_session_cookie ( ) <EOL> assert cookie . has_nonstandard_attr ( '<STR_LIT>' ) </s>
