#NEWLINE# def test_dt_map_remove_set_update_same_op( self ) : #NEWLINE# #INDENT# btype = self . client . bucket_type ( 'maps' ) #NEWLINE# bucket = btype . bucket ( self . bucket_name ) #NEWLINE# map = datatypes . Map ( bucket , self . key_name ) #NEWLINE# map . sets [ 'set' ] . add ( 'X' ) #NEWLINE# map . sets [ 'set' ] . add ( 'Y' ) #NEWLINE# map . store ( ) #NEWLINE# map . reload ( ) #NEWLINE# del map . sets [ 'set' ] #NEWLINE# map . sets [ 'set' ] . add ( 'Z' ) #NEWLINE# map . store ( ) #NEWLINE# map2 = bucket . get ( self . key_name ) #NEWLINE# self . assertItemsEqual ( [ 'Z' ] , map . sets [ 'set' ] )