Skip to content

Commit 7966c45

Browse files
Testcases
1 parent 4b91693 commit 7966c45

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

src/backend/tests/agents/test_product.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ async def test_analyze_sales_data_unusual_name():
436436
async def test_generate_product_report_detailed_type():
437437
detailed_type = "Annual Sales Report with Profit Margin Analysis"
438438
result = await generate_product_report("Product AE", detailed_type)
439-
assert f"report for **'Product AE'** generated" in result
439+
assert "report for **'Product AE'** generated" in result
440440
assert detailed_type in result
441441

442442
# Test `update_product_price` with a very high precision value

src/backend/tests/agents/test_tech_support.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
import os
2-
import sys
32
import pytest
4-
from unittest.mock import AsyncMock, MagicMock
53
from autogen_core.components.tools import FunctionTool
64

7-
sys.modules['azure.monitor.events.extension'] = MagicMock()
85

96
# Set environment variables to mock Config dependencies before any import
107
os.environ["COSMOSDB_ENDPOINT"] = "https://mock-endpoint"
@@ -36,11 +33,9 @@
3633
configure_server,
3734
grant_database_access,
3835
provide_tech_training,
39-
resolve_technical_issue,
4036
configure_printer,
4137
set_up_email_signature,
4238
configure_mobile_device,
43-
manage_software_licenses,
4439
set_up_remote_desktop,
4540
troubleshoot_hardware_issue,
4641
manage_network_security,

0 commit comments

Comments
 (0)