Skip to content

Commit d939798

Browse files
committed
cleanup
1 parent 3a6a45b commit d939798

3 files changed

Lines changed: 1 addition & 8 deletions

File tree

tests/expense/test_expense_activities.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,10 @@
33
Focuses on activity behavior, parameters, error handling, and HTTP interactions.
44
"""
55

6-
import uuid
76
from unittest.mock import AsyncMock, MagicMock, patch
87

98
import httpx
109
import pytest
11-
from temporalio import activity
1210
from temporalio.activity import _CompleteAsyncError
1311
from temporalio.testing import ActivityEnvironment
1412

tests/expense/test_expense_integration.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
import uuid
77
from unittest.mock import AsyncMock, patch
88

9-
import pytest
109
from temporalio import activity
1110
from temporalio.client import Client
1211
from temporalio.testing import WorkflowEnvironment

tests/expense/test_ui.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
1-
import asyncio
21
from unittest.mock import AsyncMock, MagicMock, patch
32

43
import pytest
54
from fastapi.testclient import TestClient
6-
from temporalio.client import Client
7-
from temporalio.testing import WorkflowEnvironment
85

9-
from expense.ui import ExpenseState, all_expenses, app, token_map, workflow_client
6+
from expense.ui import ExpenseState, all_expenses, app, token_map
107

118

129
class TestExpenseUI:
@@ -325,7 +322,6 @@ def test_html_response_structure(self, client):
325322
def test_concurrent_operations(self, client):
326323
"""Test handling of concurrent operations"""
327324
import threading
328-
import time
329325

330326
results = []
331327

0 commit comments

Comments
 (0)