From: Tom Krizek Date: Fri, 14 Oct 2022 09:12:53 +0000 (+0200) Subject: Use common name convention for pytest files X-Git-Tag: v9.19.9~64^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f6409ee6ac5913c6f90545a44c4346945d911162;p=thirdparty%2Fbind9.git Use common name convention for pytest files It is better to use consistent file names to avoid issue with sorting etc. Using underscore in filenames as opposed to dash was chosen because it seems more common in pytest/python to use underscore for filenames. Also rename the bin/tests/system/timeouts/tests-tcp.py file to bin/tests/system/timeouts/tests_tcp_timeouts.py to avoid pytest name collision (there can't be two files named tests_tcp.py). --- diff --git a/bin/tests/system/checkds/tests-checkds.py b/bin/tests/system/checkds/tests_checkds.py similarity index 100% rename from bin/tests/system/checkds/tests-checkds.py rename to bin/tests/system/checkds/tests_checkds.py diff --git a/bin/tests/system/dispatch/tests-connreset.py b/bin/tests/system/dispatch/tests_connreset.py similarity index 100% rename from bin/tests/system/dispatch/tests-connreset.py rename to bin/tests/system/dispatch/tests_connreset.py diff --git a/bin/tests/system/rpzextra/tests-rpz-passthru-logging.py b/bin/tests/system/rpzextra/tests_rpz_passthru_logging.py similarity index 100% rename from bin/tests/system/rpzextra/tests-rpz-passthru-logging.py rename to bin/tests/system/rpzextra/tests_rpz_passthru_logging.py diff --git a/bin/tests/system/shutdown/tests-shutdown.py b/bin/tests/system/shutdown/tests_shutdown.py similarity index 100% rename from bin/tests/system/shutdown/tests-shutdown.py rename to bin/tests/system/shutdown/tests_shutdown.py diff --git a/bin/tests/system/statschannel/tests-json.py b/bin/tests/system/statschannel/tests_json.py similarity index 100% rename from bin/tests/system/statschannel/tests-json.py rename to bin/tests/system/statschannel/tests_json.py diff --git a/bin/tests/system/statschannel/tests-xml.py b/bin/tests/system/statschannel/tests_xml.py similarity index 100% rename from bin/tests/system/statschannel/tests-xml.py rename to bin/tests/system/statschannel/tests_xml.py diff --git a/bin/tests/system/tcp/tests-tcp.py b/bin/tests/system/tcp/tests_tcp.py similarity index 100% rename from bin/tests/system/tcp/tests-tcp.py rename to bin/tests/system/tcp/tests_tcp.py diff --git a/bin/tests/system/timeouts/tests-tcp.py b/bin/tests/system/timeouts/tests_tcp_timeouts.py similarity index 100% rename from bin/tests/system/timeouts/tests-tcp.py rename to bin/tests/system/timeouts/tests_tcp_timeouts.py diff --git a/bin/tests/system/wildcard/tests-wildcard.py b/bin/tests/system/wildcard/tests_wildcard.py similarity index 100% rename from bin/tests/system/wildcard/tests-wildcard.py rename to bin/tests/system/wildcard/tests_wildcard.py