1
0
mirror of https://github.com/httpie/cli.git synced 2024-11-24 08:22:22 +02:00

pytest: Add hidden files to norecursedirs (#1071)

The default value already contains this,
but when setting a custom one, it was overridden.

In Fedora, we build the package in `.pyproject-builddir` and not ignoring it confuses pytest:

    _pytest.pathlib.ImportPathMismatchError: ('httpie.__main__', '/builddir/build/BUILD/httpie-2.4.0/.pyproject-builddir/pip-req-build-aedma65c/build/lib/httpie/__main__.py', PosixPath('/builddir/build/BUILD/httpie-2.4.0/.pyproject-builddir/pip-req-build-aedma65c/httpie/__main__.py'))
This commit is contained in:
Miro Hrončok 2021-05-27 16:59:57 +02:00 committed by GitHub
parent 464b5b4c1d
commit 0e556ec3a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@
[tool:pytest]
# <https://docs.pytest.org/en/latest/customize.html>
norecursedirs = tests/fixtures
norecursedirs = tests/fixtures .*
addopts = --tb=native --doctest-modules