Skip to content

Commit b58fd15

Browse files
committed
Fix rspm test for VERSION_CODENAME
1 parent 9ff14c1 commit b58fd15

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/unit/test_r.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ def test_snapshot_rspm_date(base_image):
6565
for requested, expected in test_dates.items():
6666
snapshot_url = r.get_rspm_snapshot_url(requested)
6767
assert snapshot_url.startswith(
68-
"https://packagemanager.rstudio.com/all/__linux__/focal/"
68+
# VERSION_CODENAME is handled at runtime during the build
69+
"https://packagemanager.rstudio.com/all/__linux__/${VERSION_CODENAME}/"
6970
+ expected.strftime("%Y-%m-%d")
7071
)
7172

0 commit comments

Comments
 (0)