0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-03-05 14:06:27 -05:00

qa, doc: Fix comment

This change is a follow-up for:
- https://github.com/bitcoin/bitcoin/pull/9956
- https://github.com/bitcoin/bitcoin/pull/10096
This commit is contained in:
Hennadii Stepanov 2023-07-29 12:46:57 +01:00
parent 4c57e53a61
commit ab498d913c
No known key found for this signature in database
GPG key ID: 410108112E7EA81F

View file

@ -783,8 +783,8 @@ def check_script_prefixes():
def check_script_list(*, src_dir, fail_on_warn): def check_script_list(*, src_dir, fail_on_warn):
"""Check scripts directory. """Check scripts directory.
Check that there are no scripts in the functional tests directory which are Check that all python files in this directory are categorized
not being run by pull-tester.py.""" as a test script or meta script."""
script_dir = src_dir + '/test/functional/' script_dir = src_dir + '/test/functional/'
python_files = set([test_file for test_file in os.listdir(script_dir) if test_file.endswith(".py")]) python_files = set([test_file for test_file in os.listdir(script_dir) if test_file.endswith(".py")])
missed_tests = list(python_files - set(map(lambda x: x.split()[0], ALL_SCRIPTS + NON_SCRIPTS))) missed_tests = list(python_files - set(map(lambda x: x.split()[0], ALL_SCRIPTS + NON_SCRIPTS)))