Skip to content

Commit 48460cd

Browse files
committed
Remove unused mock session from test
1 parent 0a3ddef commit 48460cd

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

tests/test_user_management_revoke_session.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,6 @@
66
from workos.user_management import AsyncUserManagement, UserManagement
77

88

9-
def _mock_session(id: str):
10-
now = "2025-07-23T14:00:00.000Z"
11-
return {
12-
"object": "session",
13-
"id": id,
14-
"user_id": "user_123",
15-
"organization_id": "org_123",
16-
"status": "revoked",
17-
"auth_method": "password",
18-
"ip_address": "192.168.1.1",
19-
"user_agent": "Mozilla/5.0",
20-
"expires_at": "2025-07-23T15:00:00.000Z",
21-
"ended_at": now,
22-
"created_at": now,
23-
"updated_at": now,
24-
}
25-
26-
279
@pytest.mark.sync_and_async(UserManagement, AsyncUserManagement)
2810
class TestUserManagementRevokeSession:
2911
@pytest.fixture(autouse=True)

0 commit comments

Comments
 (0)