Skip to content

Commit

Permalink
updated e2e tests with auth_type
Browse files Browse the repository at this point in the history
  • Loading branch information
damoodamoo committed Nov 1, 2022
1 parent f5d1719 commit 07f83ee
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions api_app/models/schemas/workspace.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ class Config:
"properties": {
"display_name": "the workspace display name",
"description": "workspace description",
"auth_type": "Manual",
"client_id": "<WORKSPACE_CLIENT_ID>",
"client_secret": "<WORKSPACE_CLIENT_SECRET>",
"address_space_size": "small"
Expand Down
1 change: 1 addition & 0 deletions e2e_tests/test_airlock.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ async def test_airlock_flow(verify) -> None:
"display_name": "E2E test airlock flow",
"description": "workspace for E2E airlock flow",
"address_space_size": "small",
"auth_type": "Manual",
"client_id": f"{config.TEST_WORKSPACE_APP_ID}",
"client_secret": f"{config.TEST_WORKSPACE_APP_SECRET}",
}
Expand Down
2 changes: 2 additions & 0 deletions e2e_tests/test_performance.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ async def test_parallel_resource_creations(verify) -> None:
"display_name": f'Perf Test Workspace {i}',
"description": "workspace for perf test",
"address_space_size": "small",
"auth_type": "Manual",
"client_id": f"{config.TEST_WORKSPACE_APP_ID}"
}
}
Expand Down Expand Up @@ -67,6 +68,7 @@ async def test_bulk_updates_to_ensure_each_resource_updated_in_series(verify) ->
"display_name": "E2E test guacamole service",
"description": "",
"address_space_size": "small",
"auth_type": "Manual",
"client_id": f"{config.TEST_WORKSPACE_APP_ID}",
"client_secret": f"{config.TEST_WORKSPACE_APP_SECRET}"
}
Expand Down
1 change: 1 addition & 0 deletions e2e_tests/test_workspace_services.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ async def test_create_guacamole_service_into_base_workspace(verify) -> None:
"display_name": "E2E test guacamole service",
"description": "workspace for E2E",
"address_space_size": "small",
"auth_type": "Manual",
"client_id": f"{config.TEST_WORKSPACE_APP_ID}",
"client_secret": f"{config.TEST_WORKSPACE_APP_SECRET}",
}
Expand Down

0 comments on commit 07f83ee

Please sign in to comment.