Skip to content

Commit 8b90e27

Browse files
committed
tests/integration/sandbox.py: Extend tests to check artifact loading
1 parent 190077c commit 8b90e27

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tests/integration/sandbox.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,11 @@ def test_remote_apis_socket(cli, datafiles):
6161
result = cli.run(project=project, args=["build", element_name])
6262
assert result.exit_code == 0
6363

64+
# Verify that loading the artifact succeeds
65+
artifact_name = cli.get_artifact_name(project, "test", element_name)
66+
result = cli.run(project=project, args=["artifact", "show", artifact_name])
67+
assert result.exit_code == 0
68+
6469

6570
# Test configuration with remote action cache for nested REAPI.
6671
@pytest.mark.skipif(not HAVE_SANDBOX, reason="Only available with a functioning sandbox")
@@ -103,6 +108,11 @@ def test_remote_apis_socket_with_action_cache_update(cli, tmpdir, datafiles):
103108
result = cli.run(project=project, args=["build", element_name])
104109
assert result.exit_code == 0
105110

111+
# Verify that loading the artifact succeeds
112+
artifact_name = cli.get_artifact_name(project, "test", element_name)
113+
result = cli.run(project=project, args=["artifact", "show", artifact_name])
114+
assert result.exit_code == 0
115+
106116

107117
# Test configuration with cache storage-service and remote action cache for nested REAPI.
108118
@pytest.mark.skipif(not HAVE_SANDBOX, reason="Only available with a functioning sandbox")

0 commit comments

Comments
 (0)