#NEWLINE# def test_load_user_role_assignments_success( self ) : #NEWLINE# #INDENT# loader = RBACDefinitionsLoader ( ) #NEWLINE# file_path = os . path . join ( get_fixtures_base_path ( ) , 'rbac/assignments/user3.yaml' ) #NEWLINE# user_role_assignment_api = loader . load_user_role_assignments_from_file ( file_path = file_path ) #NEWLINE# self . assertEqual ( user_role_assignment_api . username , 'user3' ) #NEWLINE# self . assertEqual ( user_role_assignment_api . description , 'Observer assignments' ) #NEWLINE# self . assertEqual ( user_role_assignment_api . roles , [ 'observer' ] )