Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
[pytest]
# <https://docs.pytest.org/en/latest/customize.html>
testpaths = httpie tests
norecursedirs = tests/fixtures
addopts = --tb=native --doctest-modules --verbose
xfail_strict = True
markers =
# If you want to run tests without a full HTTPie installation
# we advise you to disable the markers below, e.g:
Expand Down
7 changes: 0 additions & 7 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,6 @@
[wheel]


[tool:pytest]
# <https://docs.pytest.org/en/latest/customize.html>
testpaths = httpie tests
norecursedirs = tests/fixtures
addopts = --tb=native --doctest-modules --verbose
xfail_strict = True

[metadata]
name = httpie
version = attr: httpie.__version__
Expand Down
2 changes: 1 addition & 1 deletion tests/test_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def test_quiet_quiet_with_check_status_non_zero_pipe(self, httpbin):
(['-qq'], 0),
])
# Might fail on Windows due to interference from other warnings.
@pytest.mark.xfail
@pytest.mark.xfail(strict=False)
def test_quiet_on_python_warnings(self, test_patch, httpbin, flags, expected_warnings):
def warn_and_run(*args, **kwargs):
warnings.warn('warning!!')
Expand Down
Loading