mirror of
https://github.com/isc-projects/bind9.git
synced 2026-03-10 10:11:39 -04:00
Prior to introducing the pytest runner, clean.sh files were used as a list of files that the test is expected to leave around as artifacts and check that no extra files were created. With the pytest runner, those scripts are no longer used, but the ability to detect extraneous files is still useful. Add a new "extra_artifacts" mark which can be used for the same purpose.
24 lines
980 B
INI
24 lines
980 B
INI
# Copyright (C) Internet Systems Consortium, Inc. ("ISC")
|
|
#
|
|
# SPDX-License-Identifier: MPL-2.0
|
|
#
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, you can obtain one at https://mozilla.org/MPL/2.0/.
|
|
#
|
|
# See the COPYRIGHT file distributed with this work for additional
|
|
# information regarding copyright ownership.
|
|
|
|
[pytest]
|
|
addopts = --tb=short -rA -vv
|
|
log_format = %(asctime)s %(levelname)s:%(name)s %(message)s
|
|
log_date_format = %Y-%m-%d %H:%M:%S
|
|
log_cli = 1
|
|
log_level = INFO
|
|
python_files = tests_*.py
|
|
junit_logging = log
|
|
junit_log_passing_tests = 0
|
|
markers =
|
|
requires_zones_loaded: ensures the test does not start until the specified named instances load all configured zones
|
|
algorithm_set: use to select desired algorithms from isctest/vars/algorithms.py
|
|
extra_artifacts: list of files (globs) that are expected to appear in the test directory after the test is run
|