Skip to content

Commit f8ba6df

Browse files
fix(e2e): align python profile isolation test with scope-aware catalog
Platform profiles are now visible in workspace listings as fallbacks per the layered catalog design. Update the assertion to match. Signed-off-by: Derek Carr <decarr@redhat.com>
1 parent 9d5f869 commit f8ba6df

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎e2e/python/test_sandbox_providers.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@ def test_github_provider_allows_https_git_clone(
623623
def test_provider_profile_platform_vs_workspace_isolation(
624624
sandbox_client: "SandboxClient",
625625
) -> None:
626-
"""Platform-scoped (workspace='') and workspace-scoped profiles are isolated."""
626+
"""Platform-scoped profiles are visible in workspace listings; workspace profiles are not visible in platform listings."""
627627
stub = sandbox_client._stub
628628
platform_id = "e2e-platform-profile"
629629
workspace_id = "e2e-workspace-profile"
@@ -683,8 +683,8 @@ def _cleanup() -> None:
683683
assert workspace_id in workspace_ids, (
684684
"workspace profile should appear in workspace list"
685685
)
686-
assert platform_id not in workspace_ids, (
687-
"platform profile should NOT appear in workspace list"
686+
assert platform_id in workspace_ids, (
687+
"platform profile should appear in workspace list (visible as fallback)"
688688
)
689689
finally:
690690
_cleanup()

0 commit comments

Comments
 (0)