Skip to content

Commit 106f2ad

Browse files
committed
Update dependency test version
1 parent c6f7568 commit 106f2ad

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

tests/test_dependencies.py

+5-3
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,17 @@ def test_miniconda():
1414
base_url = 'https://repo.continuum.io/miniconda'
1515
dockerfile = get_dockerfile()
1616
conda_version = dockerfile.envs.get('CONDA_VERSION')
17+
conda_python_version = dockerfile.envs.get('CONDA_PYTHON_VERSION')
1718
latest = requests.head(
18-
'{base}/Miniconda2-latest-Linux-x86_64.sh'.format(
19+
'{base}/Miniconda3-latest-Linux-x86_64.sh'.format(
1920
base=base_url
2021
)
2122
)
2223
current = requests.head(
23-
'{base}/Miniconda2-{version}-Linux-x86_64.sh'.format(
24+
'{base}/Miniconda3-{conda_python_version}_{conda_version}-Linux-x86_64.sh'.format(
2425
base=base_url,
25-
version=conda_version,
26+
conda_python_version=conda_python_version,
27+
conda_version=conda_version,
2628
)
2729
)
2830
assert current.headers['etag'] == latest.headers['etag']

0 commit comments

Comments
 (0)