]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix pytest module detection for run.sh
authorTom Krizek <tkrizek@isc.org>
Thu, 31 Aug 2023 11:18:17 +0000 (13:18 +0200)
committerTom Krizek <tkrizek@isc.org>
Tue, 19 Sep 2023 12:47:47 +0000 (14:47 +0200)
commitd4502206a146b00ce1f8c1fad50a024d654b25f5
tree8d83840464afd5854e012ed97ffd45edd5fc3b40
parent56c108730405a42464f3c17b22ccb7b816ec8be0
Fix pytest module detection for run.sh

To allow concurrent invocations of pytest, it is necessary to assign
ports properly to avoid conflicts. In order to do that, pytest needs to
know a complete list of all test modules.

When pytest is invoked from run.sh, the current working directory is the
system test directory. To properly detect other tests, the conftest.py
has to look in the bin/tests/system directory, rather than the current
working directory.
bin/tests/system/conftest.py