Skip to content

Commit

Permalink
chore: update tests
Browse files Browse the repository at this point in the history
Signed-off-by: ThibaultFy <[email protected]>
  • Loading branch information
ThibaultFy committed Oct 1, 2024
1 parent b7355b9 commit 516738d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/remote/register/test_register.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def test_get_base_docker_image_cpu():
FROM python:3.12-slim
# update image
RUN apt-get update -y
RUN apt-get update -y && pip uninstall -y setuptools
"""
assert expected_dockerfile == _get_base_docker_image("3.12", use_gpu=False)

Expand Down Expand Up @@ -97,7 +97,7 @@ def test_create_dockerfile(tmp_path, local_installable_module):
FROM python:{python_version}-slim
# update image
RUN apt-get update -y
RUN apt-get update -y && pip uninstall -y setuptools
# create a non-root user
RUN addgroup --gid 1001 group
Expand All @@ -109,7 +109,7 @@ def test_create_dockerfile(tmp_path, local_installable_module):
ENV PATH="/home/user/venv/bin:$PATH" VIRTUAL_ENV="/home/user/venv"
# install dependencies
RUN python{python_version} -m pip install -U pip
RUN python{python_version} -m pip install -U pip && pip install -U setuptools>=70.0.0
# Copy local wheels
COPY {substrafl_wheel} {substrafl_wheel}
Expand Down

0 comments on commit 516738d

Please sign in to comment.