-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpytest.ini
29 lines (27 loc) · 924 Bytes
/
pytest.ini
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
# 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