blob: f34ea5ff70507edb7106643087a066d956c16f1d [file] [log] [blame]
# Copyright 2020 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Syntax: https://docs.pytest.org/en/latest/customize.html
[pytest]
addopts =
--durations=5
-m 'not (
network_test
)'
--strict
-n auto
--quiet
python_files = *_unittest.py
python_classes = cros_test_lib\.TestCase
norecursedirs = third_party venv
filterwarnings =
ignore::DeprecationWarning:distutils|google.cloud|google.protobuf|google.rpc|google.type|isort|requests
ignore::DeprecationWarning:chromite.lib.tee
ignore::DeprecationWarning:chromite.third_party.google
ignore::DeprecationWarning:chromite.third_party.infra_libs.ts_mon.protos
ignore::PendingDeprecationWarning:magic
log_level = DEBUG
markers =
inside_only: Tests which must be run inside the chroot
network_test: Tests which require a network connection to run
faulthandler_timeout = 90