-
Notifications
You must be signed in to change notification settings - Fork 40
Expand file tree
/
Copy pathpytest.ini
More file actions
33 lines (33 loc) · 1020 Bytes
/
pytest.ini
File metadata and controls
33 lines (33 loc) · 1020 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[tool:pytest]
minversion = 6.0
addopts =
-ra
--strict-markers
--strict-config
--disable-warnings
--tb=short
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
markers =
slow: marks tests as slow (deselect with '-m "not slow"')
integration: marks tests as integration tests
unit: marks tests as unit tests
spark: marks tests that require Spark
external_data: marks tests that require external data sources
filterwarnings =
ignore::UserWarning
ignore::DeprecationWarning
ignore::PendingDeprecationWarning
ignore::FutureWarning
ignore:.*pyspark.*:UserWarning
ignore:.*py4j.*:UserWarning
log_cli = false
log_cli_level = INFO
log_cli_format = %(asctime)s [%(levelname)8s] %(name)s: %(message)s
log_cli_date_format = %Y-%m-%d %H:%M:%S
log_file = tests/test.log
log_file_level = DEBUG
log_file_format = %(asctime)s [%(levelname)8s] %(name)s: %(message)s (%(filename)s:%(lineno)d)
log_file_date_format = %Y-%m-%d %H:%M:%S