#NEWLINE# def test_load_user_role_assignments_disabled_assignment( self ) : #NEWLINE# #INDENT# loader = RBACDefinitionsLoader ( ) #NEWLINE# file_path = os . path . join ( get_fixtures_base_path ( ) , 'rbac/assignments/user_disabled.yaml' ) #NEWLINE# file_paths = [ loader ] #NEWLINE# loader . _get_role_assiginments_file_paths = mock . Mock ( ) #NEWLINE# loader . _get_role_assiginments_file_paths . return_value = file_paths #NEWLINE# result = loader . load_user_role_assignments ( ) #NEWLINE# self . assertItemsEqual ( result , [ ] )