From f22da81999857cb7e55d6a9d6fec6b33b4a314a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Saugat=20Pachhai=20=28=E0=A4=B8=E0=A5=8C=E0=A4=97=E0=A4=BE?= =?UTF-8?q?=E0=A4=A4=29?= Date: Thu, 21 Apr 2022 14:46:14 +0545 Subject: [PATCH] tests: make xfail-marked-tests to be strict by default --- pyproject.toml | 1 + tests/func/test_import_url.py | 5 ----- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 63c463cce..34c272779 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,6 +34,7 @@ addopts = "-ra" markers = [ "needs_internet: Might need network access for the tests", ] +xfail_strict = true [tool.mypy] # Error output diff --git a/tests/func/test_import_url.py b/tests/func/test_import_url.py index 5868716b4..ab810dc2f 100644 --- a/tests/func/test_import_url.py +++ b/tests/func/test_import_url.py @@ -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")