콘텐츠로 이동

unittest Result

Test Summary


Item Value
Execution ID 20261024_185646_268734
Pass FAIL
Latest 2026-10-24T18:56:46.268920+09:00
Duration 0.152375 seconds
Total 9
Passed 7
Failed 1
Errors 0
Skipped 1


Test envs Value
test_os windows
test_name local_01
test_environment local
test_request local_vscode


Test Functions

  • Unit TEST
    • PATH0: test_envs/tests/unittest/ct_framework/python
PATH Test Function Pass Duration (s)
0 test_hil_requires_explicit_pytest_opt_in PASS 0.002093
0 test_mkdocs_update_requires_explicit_opt_in PASS 0.001226
0 test_pytest_command_uses_allowlisted_arguments_without_a_shell PASS 0.000285
0 test_pytest_list_exposes_allowlisted_ids_and_hil_gate PASS 0.001850
0 test_rejects_unknown_test_id_before_starting_process PASS 0.000661
0 test_unittest_list_exposes_extension_scopes PASS 0.008291
0 test_client_discovers_and_calls_test_inventory PASS 0.132788
0 test_server_advertises_the_workspace_logo FAIL 0.004914
0 test_stdio_client_launches_external_server_process FAIL 0.000267

Failed Functions

Item Value
Status FAIL
self = <test_envs.tests.unittest.ct_framework.python.test_mcp_runner.MCPServerContractTests testMethod=test_server_advertises_the_workspace_logo>

    def test_server_advertises_the_workspace_logo(self) -> None:
        initialization = mcp._lowlevel_server.create_initialization_options()

>       self.assertEqual(initialization.serverInfo.title, "AI-driven CI/CT MCP Server")
                         ^^^^^^^^^^^^^^^^^^^^^^^^^

test_envs\tests\unittest\ct_framework\python\test_mcp_runner.py:79: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = InitializationOptions(server_name='AI-driven CI-CT', server_version='', title='AI-driven CI/CT MCP Server', descriptio...file:///D:/works/projects/AI-driven-CI-CT/docx/imgs/logo.jpg', mime_type='image/jpeg', sizes=['190x190'], theme=None)])
item = 'serverInfo'

    def __getattr__(self, item: str) -> Any:
        private_attributes = object.__getattribute__(self, '__private_attributes__')
        if item in private_attributes:
            attribute = private_attributes[item]
            if hasattr(attribute, '__get__'):
                return attribute.__get__(self, type(self))  # type: ignore

            try:
                # Note: self.__pydantic_private__ cannot be None if self.__private_attributes__ has items
                return self.__pydantic_private__[item]  # type: ignore
            except KeyError as exc:
                raise AttributeError(f'{type(self).__name__!r} object has no attribute {item!r}') from exc
        else:
            # `__pydantic_extra__` can fail to be set if the model is not yet fully initialized.
            # See `BaseModel.__repr_args__` for more details
            try:
                pydantic_extra = object.__getattribute__(self, '__pydantic_extra__')
            except AttributeError:
                pydantic_extra = None

            if pydantic_extra and item in pydantic_extra:
                return pydantic_extra[item]
            else:
                if hasattr(self.__class__, item):
                    return super().__getattribute__(item)  # Raises AttributeError if appropriate
                else:
                    # this is the current error
>                   raise AttributeError(f'{type(self).__name__!r} object has no attribute {item!r}')
E                   AttributeError: 'InitializationOptions' object has no attribute 'serverInfo'. Did you mean: 'server_name'?

.venv\Lib\site-packages\pydantic\main.py:1105: AttributeError


Test Source

Item Value
Commit 7adc40252db62dcfcd2bf0f7b70fd2d284f8a7a4
Branch main

Logs

Item Value
Result log 20261024_185646_268734_result.log
Result json 20261024_185646_268734_result.json