Skip to content

Commit 43ef567

Browse files
authored
Merge branch 'dev' into fix-mastodon-toot
2 parents 331ca17 + 75e534e commit 43ef567

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
### General
66

7+
- update multiqc version to fix utils test ([#3853](https://github.com/nf-core/tools/pull/3853))
8+
79
### Template
810

911
### Linting

tests/test_utils.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def test_request_cant_create_cache(self, mock_exists, mock_mkdir):
107107
nf_core.utils.setup_requests_cachedir()
108108

109109
def test_pip_package_pass(self):
110-
result = nf_core.utils.pip_package("multiqc=1.10")
110+
result = nf_core.utils.pip_package("multiqc=1.32")
111111
assert isinstance(result, dict)
112112

113113
@mock.patch("requests.get")
@@ -118,7 +118,7 @@ def test_pip_package_timeout(self, mock_get):
118118
mock_get.side_effect = requests.exceptions.Timeout()
119119
# Now do the test
120120
with pytest.raises(LookupError):
121-
nf_core.utils.pip_package("multiqc=1.10")
121+
nf_core.utils.pip_package("multiqc=1.32")
122122

123123
@mock.patch("requests.get")
124124
def test_pip_package_connection_error(self, mock_get):
@@ -128,7 +128,7 @@ def test_pip_package_connection_error(self, mock_get):
128128
mock_get.side_effect = requests.exceptions.ConnectionError()
129129
# Now do the test
130130
with pytest.raises(LookupError):
131-
nf_core.utils.pip_package("multiqc=1.10")
131+
nf_core.utils.pip_package("multiqc=1.32")
132132

133133
def test_pip_erroneous_package(self):
134134
"""Tests the PyPi API package information query"""
@@ -151,10 +151,10 @@ def test_get_repo_releases_branches_not_nf_core(self):
151151
wfs.get_remote_workflows()
152152
pipeline, wf_releases, wf_branches = nf_core.utils.get_repo_releases_branches("MultiQC/MultiQC", wfs)
153153
for r in wf_releases:
154-
if r.get("tag_name") == "v1.10":
154+
if r.get("tag_name") == "v1.32":
155155
break
156156
else:
157-
raise AssertionError("MultiQC release v1.10 not found")
157+
raise AssertionError("MultiQC release v1.32 not found")
158158
assert "main" in wf_branches.keys()
159159

160160
def test_get_repo_releases_branches_not_exists(self):

0 commit comments

Comments
 (0)