#NEWLINE# def test_load_sample_role_definition( self ) : #NEWLINE# #INDENT# '\n        Validate that the sample role definition which we ship with default installation works.\n        ' #NEWLINE# loader = RBACDefinitionsLoader ( ) #NEWLINE# file_path = os . path . join ( get_fixtures_base_path ( ) , 'rbac/roles/role_sample.yaml' ) #NEWLINE# role_api = loader . load_role_definition_from_file ( file_path = file_path ) #NEWLINE# self . assertEqual ( role_api . name , 'sample' ) #NEWLINE# self . assertFalse ( role_api . enabled )