#NEWLINE# def test_trivial_multi_touch( self ) : #NEWLINE# #INDENT# kv = self . gen_kv_dict ( prefix = 'trivial_multi_touch' ) #NEWLINE# self . cb . upsert_multi ( kv , ttl = 1 ) #NEWLINE# time . sleep ( 2 ) #NEWLINE# rvs = self . cb . get_multi ( kv . keys ( ) , quiet = True ) #NEWLINE# self . assertFalse ( rvs . all_ok ) #NEWLINE# self . cb . upsert_multi ( kv , ttl = 1 ) #NEWLINE# self . cb . touch_multi ( kv . keys ( ) , ttl = 0 ) #NEWLINE# rvs = self . cb . get_multi ( kv . keys ( ) ) #NEWLINE# self . assertTrue ( rvs . all_ok ) #NEWLINE# self . cb . touch_multi ( kv . keys ( ) , ttl = 1 ) #NEWLINE# time . sleep ( 2 ) #NEWLINE# rvs = self . cb . get_multi ( kv . keys ( ) , quiet = True ) #NEWLINE# self . assertFalse ( rvs . all_ok )