Skip to content

Fix warnings during test execution - #17

Merged
imdshr merged 1 commit into
mainfrom
fix_warnings_in_test_step
Sep 2, 2026
Merged

Fix warnings during test execution#17
imdshr merged 1 commit into
mainfrom
fix_warnings_in_test_step

Conversation

@imdshr

@imdshr imdshr commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Summary

When running command uv run pytest ConfigurationDeskMCP/tests warning was raised.

=========================================== warnings summary ===========================================
tests/test_runtime_guards.py::test_preconditions_propagate_bridge_errors
tests/test_runtime_guards.py::test_preconditions_report_unexpected_probe_failures
  D:\Repos\ConfigurationDeskBusManagerMCP\ConfigurationDeskMCP\sources\server\preconditions.py:222: DeprecationWarning: 'asyncio.iscoroutinefunction' is deprecated and slated for removal in Python 3.16; use inspect.iscoroutinefunction() instead
    if asyncio.iscoroutinefunction(check_fn):

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html

Proposed changes address warning cause.

Validation

  • uv run ruff check .
  • uv run ruff format --check .
  • uv run pytest ConfigurationDeskMCP/tests
  • uv run configurationdesk-mcp --list-tools
  • Documentation and tool specifications are updated when applicable.
  • No credentials, local paths, proprietary assets, or generated artifacts were added.

@imdshr
imdshr requested a review from Akshay-r-rao as a code owner September 2, 2026 13:39
@imdshr
imdshr merged commit f9e61fc into main Sep 2, 2026
7 checks passed
@imdshr
imdshr deleted the fix_warnings_in_test_step branch September 2, 2026 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants