#NEWLINE# def test_mgr_update_snapshot_empty( self ) : #NEWLINE# #INDENT# clt = self . client #NEWLINE# snap = self . snapshot #NEWLINE# mgr = clt . _snapshot_manager #NEWLINE# mgr . api . method_put = Mock ( return_value = ( None , None ) ) #NEWLINE# mgr . update ( snap ) #NEWLINE# self . assertEqual ( mgr . api . method_put . call_count , 0 )