| # Copyright 2023 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 |
| --quiet |
| python_files = *_unittest.py |
| python_classes = cros_test_lib\.TestCase |
| 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 |