mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-13 15:28:27 +01:00
* Revert "limit pytest version to <8.1 (#10334)"
This reverts commit bc95b650a4.
* replace flaky with pytest-rerunfailures
`flaky` project seems to be unmaintained (see box/flaky#192).
`pytest-rerunfailures` seems to be maintained under `pytest-dev`
and tests 5 minor releases of pytest.
Note that this plugin is not compatible with `flaky` plugin.
You will have to uninstall it if it exists.
10 lines
281 B
Python
10 lines
281 B
Python
import pytest
|
|
|
|
|
|
@pytest.mark.flaky(reruns=3)
|
|
def test_import(bench_dvc, tmp_dir, scm, dvc, make_dataset, remote):
|
|
dataset = make_dataset(
|
|
cache=False, files=False, dvcfile=True, commit=True, remote=True
|
|
)
|
|
bench_dvc("import", tmp_dir, dataset.name, "-o", "new")
|