#NEWLINE# def testCreatesExpectedStringForObjectDeleteWithDateAlternative( self ) : #NEWLINE# #INDENT# headers = { #NEWLINE# #INDENT# 'Date' : 'Tue, 27 Mar 2007 21:15:45 +0000' , #NEWLINE# 'x-amz-date' : 'Tue, 27 Mar 2007 21:20:26 +0000' , #NEWLINE# #UNINDENT# } #NEWLINE# params = Parameters ( 'DELETE' , 'johnsmith' , 'puppy.jpg' , headers ) #NEWLINE# expected = 'DELETE\n\n\n\nx-amz-date:Tue, 27 Mar 2007 21:20:26 +0000\n/johnsmith/puppy.jpg' #NEWLINE# self . assertEqual ( expected , params . textToSign ( ) )