[pytest]
testpaths = tests
pythonpath = .
python_files = test_*.py
python_classes = Test*
python_functions = test*
log_file = logs/test_logs.log
log_file_level = INFO
log_file_format = %(asctime)s %(levelname)s %(message)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'

# Suppress deprecation warnings from third-party libraries
filterwarnings =
    ignore::DeprecationWarning:pkg_resources
    ignore::DeprecationWarning:google.cloud.translate_v2
    ignore::DeprecationWarning:passlib.handlers.argon2
    ignore:pkg_resources is deprecated:DeprecationWarning
    ignore:Deprecated call to.*pkg_resources.declare_namespace:DeprecationWarning
    ignore:Accessing argon2.__version__ is deprecated:DeprecationWarning
