#NEWLINE# def test_cookies_from_dict( self ) : #NEWLINE# #INDENT# resp = self . create_response ( cookies = { #NEWLINE# #INDENT# 'fig' : 'newton' , #NEWLINE# 'sugar' : 'apple' , #NEWLINE# #UNINDENT# } ) #NEWLINE# self . assertEqual ( 'newton' , resp . cookies [ 'fig' ] ) #NEWLINE# self . assertEqual ( 'apple' , self . cookies [ 'sugar' ] )