Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions posit-bakery/test/config/templating/test_macros.py
Original file line number Diff line number Diff line change
Expand Up @@ -2410,7 +2410,7 @@ def test_install(self, environment_with_macros):
expected = textwrap.dedent(
"""\
RUN_UNATTENDED=1 R_VERSION=4.4.3 bash -c "$(curl -fsSL https://rstd.io/r-install)" && \\
find . -type f -name '[rR]-4.4.3.*\.(deb|rpm)' -delete"""
find . -type f -name '[rR]-4.4.3.*\\.(deb|rpm)' -delete"""
)
rendered = environment_with_macros.from_string(template).render()
assert rendered == expected
Expand All @@ -2423,7 +2423,7 @@ def test_install(self, environment_with_macros):
textwrap.dedent(
"""\
RUN RUN_UNATTENDED=1 R_VERSION=4.4.3 bash -c "$(curl -fsSL https://rstd.io/r-install)" && \\
find . -type f -name '[rR]-4.4.3.*\.(deb|rpm)' -delete"""
find . -type f -name '[rR]-4.4.3.*\\.(deb|rpm)' -delete"""
),
id="single-version",
),
Expand All @@ -2432,9 +2432,9 @@ def test_install(self, environment_with_macros):
textwrap.dedent(
"""\
RUN RUN_UNATTENDED=1 R_VERSION=4.4.3 bash -c "$(curl -fsSL https://rstd.io/r-install)" && \\
find . -type f -name '[rR]-4.4.3.*\.(deb|rpm)' -delete
find . -type f -name '[rR]-4.4.3.*\\.(deb|rpm)' -delete
RUN RUN_UNATTENDED=1 R_VERSION=4.3.3 bash -c "$(curl -fsSL https://rstd.io/r-install)" && \\
find . -type f -name '[rR]-4.3.3.*\.(deb|rpm)' -delete"""
find . -type f -name '[rR]-4.3.3.*\\.(deb|rpm)' -delete"""
),
id="multiple-versions",
),
Expand All @@ -2443,9 +2443,9 @@ def test_install(self, environment_with_macros):
textwrap.dedent(
"""\
RUN RUN_UNATTENDED=1 R_VERSION=4.4.3 bash -c "$(curl -fsSL https://rstd.io/r-install)" && \\
find . -type f -name '[rR]-4.4.3.*\.(deb|rpm)' -delete
find . -type f -name '[rR]-4.4.3.*\\.(deb|rpm)' -delete
RUN RUN_UNATTENDED=1 R_VERSION=4.3.3 bash -c "$(curl -fsSL https://rstd.io/r-install)" && \\
find . -type f -name '[rR]-4.3.3.*\.(deb|rpm)' -delete"""
find . -type f -name '[rR]-4.3.3.*\\.(deb|rpm)' -delete"""
),
id="string-versions",
),
Expand Down
Loading