Skip to content
This repository was archived by the owner on Aug 13, 2025. It is now read-only.

Commit d9507f8

Browse files
committed
Collect existing tests in pytest runner
Ensure pytest picks up our python test modules, since we're using tests_*.py convention, which is different from the default. Configure pytest logging to display the output from all tests (even the ones that passed). This ensures we have sufficient amount of information to debug test post-mortem just from the artifacts.
1 parent c0ff088 commit d9507f8

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

bin/tests/system/pytest.ini

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Copyright (C) Internet Systems Consortium, Inc. ("ISC")
2+
#
3+
# SPDX-License-Identifier: MPL-2.0
4+
#
5+
# This Source Code Form is subject to the terms of the Mozilla Public
6+
# License, v. 2.0. If a copy of the MPL was not distributed with this
7+
# file, you can obtain one at https://mozilla.org/MPL/2.0/.
8+
#
9+
# See the COPYRIGHT file distributed with this work for additional
10+
# information regarding copyright ownership.
11+
12+
[pytest]
13+
addopts = --tb=short -rA
14+
log_format = %(asctime)s %(levelname)s:%(name)s %(message)s
15+
log_date_format = %Y-%m-%d %H:%M:%S
16+
log_cli = 1
17+
log_level = INFO
18+
python_files = tests_*.py

0 commit comments

Comments
 (0)