Skip to content

Commit 8ce0759

Browse files
author
Ammar Husain Mian Fazulul
committed
update constant
1 parent 88d19e1 commit 8ce0759

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

tests/integration/systems/test_systems.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ def client(enterprise_config: HttpConfiguration) -> SystemsClient:
2626
return SystemsClient(enterprise_config)
2727

2828

29+
workspace_id = "33eba2fe-fe42-48a1-a47f-a6669479a8aa"
30+
"""Constant represent id of the workspace."""
31+
32+
2933
@pytest.fixture
3034
def create_virtual_systems(client: SystemsClient):
3135
"""Fixture to return a factory that create test plan templates."""
@@ -60,7 +64,7 @@ def test__create_virtual_systems__returns_created_virtual_system(
6064
create_virtual_system_request: CreateVirtualSystemRequest = (
6165
CreateVirtualSystemRequest(
6266
alias="Python integration virtual system",
63-
workspace="33eba2fe-fe42-48a1-a47f-a6669479a8aa",
67+
workspace=workspace_id,
6468
)
6569
)
6670

@@ -83,7 +87,7 @@ def test__query_systems__returns_queried_virtual_system(
8387
create_virtual_system_request: CreateVirtualSystemRequest = (
8488
CreateVirtualSystemRequest(
8589
alias="Python integration virtual system",
86-
workspace="33eba2fe-fe42-48a1-a47f-a6669479a8aa",
90+
workspace=workspace_id,
8791
)
8892
)
8993

@@ -112,7 +116,7 @@ def test__remove_sytems(self, client: SystemsClient):
112116
create_virtual_system_request: CreateVirtualSystemRequest = (
113117
CreateVirtualSystemRequest(
114118
alias="Python integration query virtual system",
115-
workspace="33eba2fe-fe42-48a1-a47f-a6669479a8aa",
119+
workspace=workspace_id,
116120
)
117121
)
118122

0 commit comments

Comments
 (0)