def test_load_sample_user_role_assignment_definition(self):
        loader = RBACDefinitionsLoader()

        file_path = os.path.join(get_fixtures_base_path(), 'rbac/assignments/user_sample.yaml')
        assignment_api = loader.load_user_role_assignments_from_file(file_path=file_path)
        self.assertEqual(assignment_api.username, 'stackstorm_user')
        self.assertFalse(assignment_api.enabled)
Return path to system default CA file.
dataset/ETHPy150Open StackStorm/st2/st2common/tests/unit/test_rbac_loader.py/RBACDefinitionsLoaderTestCase.test_load_sample_user_role_assignment_definition--crossover with--dataset/ETHPy150Open openstack/python-magnumclient/magnumclient/common/httpclient.py/VerifiedHTTPSConnection.get_system_ca_file