#NEWLINE# def test_user_revoke_user_access( self ) : #NEWLINE# #INDENT# inst = self . instance #NEWLINE# mgr = self . manager #NEWLINE# user = CloudDatabaseUser ( mgr , info = { #NEWLINE# #INDENT# 'name' : 'fake' , #NEWLINE# #UNINDENT# } ) #NEWLINE# db_names = utils . random_unicode ( ) #NEWLINE# strict = utils . random_unicode ( ) #NEWLINE# mgr . revoke_user_access = Mock ( ) #NEWLINE# user . revoke_user_access ( db_names , strict = strict ) #NEWLINE# mgr . revoke_user_access . assert_called_once_with ( user , db_names , strict = strict )