#NEWLINE# def test_useNonce( self ) : #NEWLINE# #INDENT# timestamp = time . time ( ) #NEWLINE# self . assertEqual ( self . store . useNonce ( 'server-url' , timestamp , 'salt' ) , True ) #NEWLINE# self . assertEqual ( self . store . useNonce ( 'server-url' , timestamp , 'salt' ) , False ) #NEWLINE# self . assertEqual ( self . store . useNonce ( 'server-url' , self , 'salt' ) , False )