forked from cloudera/dbt-hive
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpytest.ini
21 lines (19 loc) · 801 Bytes
/
pytest.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[pytest]
log_cli = 1
log_cli_level = CRITICAL
log_cli_format = %(asctime)s %(message)s
# To enable pytest file logging, otherwise default dbt logs direct into logs/<tests>/dbt.log
# log_file_level = DEBUG
# log_file_format = %(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)
# log_file_date_format=%Y-%m-%d %H:%M:%S
filterwarnings =
ignore:.*'soft_unicode' has been renamed to 'soft_str'*:DeprecationWarning
ignore:unclosed file .*:ResourceWarning
env_files =
test.env
# uses pytest-dotenv plugin
# this allows you to store env vars for database connection in a file named test.env
# rather than passing them in every CLI command, or setting in `PYTEST_ADDOPTS`
# be sure to add "test.env" to .gitignore as well!
testpaths =
tests/functional # all functional tests