]> git.ipfire.org Git - thirdparty/bind9.git/commit
Use integers for ports fixtures in pytest
authorTom Krizek <tkrizek@isc.org>
Tue, 15 Aug 2023 11:55:56 +0000 (13:55 +0200)
committerTom Krizek <tkrizek@isc.org>
Wed, 20 Sep 2023 12:51:05 +0000 (14:51 +0200)
commit60c4356554ccbb15dacac24d525a94e81d92ffd5
tree8f2b50f0dffaa74c4c54b711852d0972e9993e3c
parent0ac22ebc95b819d165ac817783d731632d35fc34
Use integers for ports fixtures in pytest

Reorganize individual port fixtures and re-use the ports fixture to
obtain their number. Store it as integer and only cast it to string when
setting it as environment variable.

(cherry picked from commit 8deb026748a774febfd1cdbb96515e93ded20898)
bin/tests/system/conftest.py