mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-13 19:19:59 -04:00
parent
8867994e0d
commit
e7806db2a9
1 changed files with 18 additions and 0 deletions
18
bin/tests/system/isctest/util.py
Normal file
18
bin/tests/system/isctest/util.py
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
# 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.
|
||||
|
||||
import pytest
|
||||
|
||||
|
||||
def param(*args, **kwargs):
|
||||
if "id" not in kwargs:
|
||||
kwargs["id"] = args[0] # use first argument as test ID
|
||||
return pytest.param(*args, **kwargs)
|
||||
Loading…
Reference in a new issue