#NEWLINE# def test_ttl( self ) : #NEWLINE# #INDENT# a = self . client . setx ( 'set_test' , 'defcwd' , 5 ) #NEWLINE# assert_true ( a ) #NEWLINE# c = self . client . exists ( 'set_test' ) #NEWLINE# assert_true ( c ) #NEWLINE# c = self . client . exists ( 'set_test' ) #NEWLINE# assert_true ( c ) #NEWLINE# time . sleep ( 5 ) #NEWLINE# c = self . client . exists ( 'set_test' ) #NEWLINE# assert_false ( c )