Skip to content

Commit a2865aa

Browse files
author
Datata1
committed
fix test
1 parent 3b9a465 commit a2865aa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/integration/test_git.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
pytestmark = pytest.mark.integration
99

1010

11-
@pytest.fixture(scope="module")
11+
@pytest.fixture(scope="session")
1212
async def git_workspace(
13-
module_sdk_client: CodesphereSDK,
13+
session_sdk_client: CodesphereSDK,
1414
test_team_id: int,
1515
test_plan_id: int,
1616
) -> AsyncGenerator[Workspace, None]:
@@ -21,7 +21,7 @@ async def git_workspace(
2121
git_url="https://github.com/octocat/Hello-World.git",
2222
)
2323

24-
workspace = await module_sdk_client.workspaces.create(payload=payload)
24+
workspace = await session_sdk_client.workspaces.create(payload=payload)
2525

2626
try:
2727
await workspace.wait_until_running(timeout=120.0)

0 commit comments

Comments
 (0)