#NEWLINE# def test_put_with_negative_ttl_throws_error( self , store , key , value ) : #NEWLINE# #INDENT# with pytest . raises ( ValueError ) : #NEWLINE# #INDENT# store . put ( key , key , ttl_secs = ( - 1 ) )