def __init__(self, url, username, password, enterprise, version, specification, sdk_identifier, monolithe_config, default_values, parent_resource=None, parent_id=None):
session_class_name = "<STR_LIT>" % (monolithe_config.get_option("<STR_LIT>", "<STR_LIT>"), monolithe_config.get_option("<STR_LIT>"))<EOL>sdk_loader = SDKLoader(version=version, sdk_identifier=sdk_identifier)<EOL>sdk_loader.sdk_utils.set_log_level(logging.DEBUG)<EOL>self._helper = TestHelper(sdk_module=sdk_loader.sdk,<EOL>sdk_session_class_name=session_class_name,<EOL>api_url=url, api_username=username,<EOL>api_password=password,<EOL>api_enterprise=enterprise)<EOL>self._sdk_object = sdk_loader.get_instance_from_rest_name(specification.rest_name)<EOL>self._sdk_object.from_dict(default_values)<EOL>self._sdk_parent_object = None<EOL>if parent_resource and parent_id:<EOL><INDENT>try:<EOL><INDENT>self._sdk_parent_object = sdk_loader.get_instance_from_rest_name(parent_resource)<EOL>self._sdk_parent_object.id = parent_id<EOL>self._sdk_parent_object.fetch()<EOL><DEDENT>except:<EOL><INDENT>raise AttributeError("<STR_LIT>" % (parent_resource, parent_id))<EOL><DEDENT><DEDENT>else:<EOL><INDENT>self._sdk_parent_object = self._helper.root_object<EOL><DEDENT>self._create_allowed = False<EOL>self._delete_allowed = False<EOL>self._get_allowed = False<EOL>self._get_all_allowed = False<EOL>self._update_allowed = False<EOL>self._create_allowed = True<EOL>self._get_all_allowed = True<EOL>self._update_allowed = specification.allows_update<EOL>self._delete_allowed = specification.allows_delete<EOL>self._get_allowed = specification.allows_get<EOL>
Initializes the CourgetteTestsRunner.

            Args:
                url (string): the server url
                username (string): the username to connect with
                password (string): the password for the username
                enterprise (string): the enterprise
                version (float): the server api version (eg 3.2)
                specification (Specification): the specification representation of the object to test
                parent_resource: the parent_resource if necessary
                parent_id: the parent id if necessary
                sdk: the full name of the SDK to load to run the test suite
                default_values: all default values to have a valid version of the specification