We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b9a465 commit a2865aaCopy full SHA for a2865aa
tests/integration/test_git.py
@@ -8,9 +8,9 @@
8
pytestmark = pytest.mark.integration
9
10
11
-@pytest.fixture(scope="module")
+@pytest.fixture(scope="session")
12
async def git_workspace(
13
- module_sdk_client: CodesphereSDK,
+ session_sdk_client: CodesphereSDK,
14
test_team_id: int,
15
test_plan_id: int,
16
) -> AsyncGenerator[Workspace, None]:
@@ -21,7 +21,7 @@ async def git_workspace(
21
git_url="https://github.com/octocat/Hello-World.git",
22
)
23
24
- workspace = await module_sdk_client.workspaces.create(payload=payload)
+ workspace = await session_sdk_client.workspaces.create(payload=payload)
25
26
try:
27
await workspace.wait_until_running(timeout=120.0)
0 commit comments