Skip to content

Commit 82a2a80

Browse files
authored
Deactivate tests that fail due to a vcr-py issue (#1167)
* Deactivate tests that fail due to a vcr-py issue * Update test_examples.py.
1 parent 909924b commit 82a2a80

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

webknossos/tests/test_examples.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ def predict(self, X: np.ndarray) -> np.ndarray:
221221
return self.labels[nearest_neighbors]
222222

223223

224+
@pytest.mark.skip("This test currently fails due to a bug with vcr-py.")
224225
@pytest.mark.block_network(allowed_hosts=[".*"])
225226
@pytest.mark.vcr(ignore_hosts=["webknossos.org", "data-humerus.webknossos.org"])
226227
def test_learned_segmenter() -> None:
@@ -275,6 +276,7 @@ def test_remote_datasets() -> None:
275276
assert ds in wk.Dataset.get_remote_datasets(tags=["test"]).values()
276277

277278

279+
@pytest.mark.skip("This test currently fails due to a bug with vcr-py.")
278280
@pytest.mark.block_network(allowed_hosts=[".*"])
279281
@pytest.mark.vcr(ignore_hosts=["webknossos.org", "data-humerus.webknossos.org"])
280282
@pytest.mark.skipif(
@@ -310,6 +312,7 @@ def test_upload_dicom_stack() -> None:
310312
)
311313

312314

315+
@pytest.mark.skip("This test currently fails due to a bug with vcr-py.")
313316
@pytest.mark.block_network(allowed_hosts=[".*"])
314317
@pytest.mark.vcr(ignore_hosts=["webknossos.org", "data-humerus.webknossos.org"])
315318
def test_download_segments() -> None:
@@ -327,6 +330,7 @@ def test_download_segments() -> None:
327330
)
328331

329332

333+
@pytest.mark.skip("This test currently fails due to a bug with vcr-py.")
330334
@pytest.mark.block_network(allowed_hosts=[".*"])
331335
@pytest.mark.vcr(ignore_hosts=["webknossos.org", "data-humerus.webknossos.org"])
332336
def test_download_tiff_stack() -> None:

0 commit comments

Comments
 (0)