chore: exclude real api calling tests by default
This commit is contained in:
parent
6b05ad2067
commit
181f55359b
1 changed files with 4 additions and 2 deletions
|
|
@ -1,7 +1,6 @@
|
||||||
[pytest]
|
[pytest]
|
||||||
testpaths = tests
|
testpaths = tests
|
||||||
python_paths = .
|
python_paths = .
|
||||||
addopts = -v --tb=short
|
|
||||||
python_files = test_*.py
|
python_files = test_*.py
|
||||||
python_classes = Test*
|
python_classes = Test*
|
||||||
python_functions = test_*
|
python_functions = test_*
|
||||||
|
|
@ -9,3 +8,6 @@ log_file = logs/test_logs.log
|
||||||
log_file_level = INFO
|
log_file_level = INFO
|
||||||
log_file_format = %(asctime)s %(levelname)s %(message)s
|
log_file_format = %(asctime)s %(levelname)s %(message)s
|
||||||
log_file_date_format = %Y-%m-%d %H:%M:%S
|
log_file_date_format = %Y-%m-%d %H:%M:%S
|
||||||
|
# Only run non-expensive tests by default, verbose log, short traceback
|
||||||
|
# Use 'pytest -m ""' to run ALL tests.
|
||||||
|
addopts = -v --tb=short -m 'not expensive'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue