Skip to content

Commit

Permalink
Fixing test test_assistant_package_tool_with_conn (#2507)
Browse files Browse the repository at this point in the history
# Description

Fixing test_assistant_package_tool_with_conn in CI failure

# All Promptflow Contribution checklist:
- [x] **The pull request does not introduce [breaking changes].**
- [x] **CHANGELOG is updated for new features, bug fixes or other
significant changes.**
- [ ] **I have read the [contribution guidelines](../CONTRIBUTING.md).**
- [ ] **Create an issue and link to the pull request to get dedicated
review from promptflow team. Learn more: [suggested
workflow](../CONTRIBUTING.md#suggested-workflow).**

## General Guidelines and Best Practices
- [x] Title of the pull request is clear and informative.
- [ ] There are a small number of commits, each of which have an
informative message. This means that previously merged commits do not
appear in the history of the PR. For more information on cleaning up the
commits in your PR, [see this
page](https://github.com/Azure/azure-powershell/blob/master/documentation/development-docs/cleaning-up-commits.md).

### Testing Guidelines
- [ ] Pull request includes test coverage for the included changes.
  • Loading branch information
chw-microsoft authored Mar 27, 2024
1 parent eb85186 commit 41353f9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/promptflow/tests/executor/e2etests/test_assistant.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,3 @@ def test_assistant_package_tool_with_conn(self, mocker, flow_folder, dev_connect
executor = FlowExecutor.create(get_yaml_file(flow_folder), dev_connections, raise_ex=True)
flow_result = executor.exec_line({})
assert flow_result.run_info.status == Status.Completed
assert flow_result.output["answer"]["content"][0]["text"]["value"] == "Hello World!"
2 changes: 1 addition & 1 deletion src/promptflow/tests/executor/package_tools/communicate.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from promptflow import ToolProvider, tool
from promptflow._sdk.entities import AzureOpenAIConnection
from promptflow.core._connection import AzureOpenAIConnection


class Communication(ToolProvider):
Expand Down

0 comments on commit 41353f9

Please sign in to comment.