mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2025-01-30 14:58:38 +00:00
move py.test options to ini-file
This commit is contained in:
parent
6b585023fd
commit
6c9aeaab9e
@ -17,7 +17,7 @@ install:
|
||||
- "pip install --user -r requirements.txt"
|
||||
- "python -c \"from OpenSSL import SSL; print(SSL.SSLeay_version(SSL.SSLEAY_VERSION))\""
|
||||
test_script:
|
||||
- "py.test -s --cov-config .coveragerc --timeout 30 ./test/"
|
||||
- "py.test ./test/"
|
||||
cache:
|
||||
- C:\Users\appveyor\AppData\Local\pip\cache
|
||||
deploy_script:
|
||||
|
@ -44,7 +44,7 @@ before_script:
|
||||
- "openssl version -a"
|
||||
|
||||
script:
|
||||
- "py.test -s --cov-config .coveragerc --timeout 30 ./test/$SCOPE"
|
||||
- "py.test ./test/$SCOPE"
|
||||
|
||||
after_success:
|
||||
- coveralls
|
||||
@ -72,4 +72,4 @@ cache:
|
||||
directories:
|
||||
- $HOME/.cache/pip
|
||||
- $HOME/.pyenv
|
||||
- $HOME/Library/Caches/pip
|
||||
- $HOME/Library/Caches/pip
|
||||
|
3
pytest.ini
Normal file
3
pytest.ini
Normal file
@ -0,0 +1,3 @@
|
||||
[pytest]
|
||||
testpaths = test
|
||||
addopts = --timeout 30 -s
|
Loading…
Reference in New Issue
Block a user