Skip to content

fix: code quality#781

Open
Kanchan-Microsoft wants to merge 2 commits intodevfrom
code-quality
Open

fix: code quality#781
Kanchan-Microsoft wants to merge 2 commits intodevfrom
code-quality

Conversation

@Kanchan-Microsoft
Copy link
Contributor

Purpose

This pull request makes minor improvements to the test suite for the orchestrator service. The changes focus on updating import statements and references to ensure consistency and clarity in the test code.

  • Test code cleanup:
    • Updated import statements and references from orch_module to orchestrator throughout src/tests/services/test_orchestrator.py, improving readability and consistency in test code. [1] [2] [3]

Does this introduce a breaking change?

  • Yes
  • No

Golden Path Validation

  • I have tested the primary workflows (the "golden path") to ensure they function correctly without errors.

Deployment Validation

  • I have validated the deployment process successfully and all services are running as expected with this change.

What to Check

Verify that the following are valid

  • ...

Other Information

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR performs minor test-suite cleanup for the orchestrator service by standardizing how the module is referenced in test_orchestrator.py.

Changes:

  • Replaced the orch_module alias import with a direct import orchestrator.
  • Updated a couple of test references to use orchestrator consistently.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.


import pytest
import orchestrator as orch_module
import orchestrator

# Reset the singleton
orch_module._orchestrator = None
orchestrator._orchestrator = None
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