tests: make xfail-marked-tests to be strict by default

This commit is contained in:
Saugat Pachhai (सौगात)
2022-04-21 15:06:47 +05:45
committed by Saugat Pachhai
parent 22a988b113
commit f22da81999
2 changed files with 1 additions and 5 deletions
+1
View File
@@ -34,6 +34,7 @@ addopts = "-ra"
markers = [
"needs_internet: Might need network access for the tests",
]
xfail_strict = true
[tool.mypy]
# Error output
-5
View File
@@ -254,11 +254,6 @@ def test_import_url_to_remote_invalid_combinations(dvc):
dvc.imp_url("s3://bucket/foo", no_exec=True, to_remote=True)
empty_xfail = pytest.mark.xfail(
reason="https://github.com/iterative/dvc/issues/5521"
)
def test_import_url_to_remote_status(tmp_dir, dvc, local_cloud, local_remote):
local_cloud.gen("foo", "foo")