Both signal and thread timeout methods break pytest-xdist: signal corrupts workers, thread kills them mid-operation. The real fix was timeout=10 on PayPal requests. Global test timeout is not needed.
14 lines
680 B
INI
14 lines
680 B
INI
[pytest]
|
|
testpaths = make_post_sell
|
|
python_files = test*.py
|
|
timeout = 0
|
|
# Uncomment filterwarnings to suppress external library warnings
|
|
# filterwarnings =
|
|
# # Ignore datetime.utcnow() deprecation from external libraries
|
|
# ignore:datetime\.datetime\.utcnow\(\) is deprecated:DeprecationWarning:webob
|
|
# ignore:datetime\.datetime\.utcnow\(\) is deprecated:DeprecationWarning:botocore
|
|
# # Ignore pkg_resources deprecation warnings
|
|
# ignore:pkg_resources is deprecated:DeprecationWarning
|
|
# ignore:Deprecated call to.*pkg_resources.*:DeprecationWarning
|
|
# # Ignore bleach CSS sanitizer warning
|
|
# ignore:'style' attribute specified.*css_sanitizer not set
|