about summary refs log tree commit diff
path: root/test/python/test_version.py
diff options
context:
space:
mode:
authorAlexander_Kabui <alexanderkabua@gmail.com>2026-10-04 09:40:07 +0300
committerAlexander_Kabui <alexanderkabua@gmail.com>2026-10-05 21:52:23 +0300
commitf063893efa75dd58a9ef125bbbc4e64f84721dd4 (patch)
treeab5047e288ede2a3855ebf6d6bb3d67422584541 /test/python/test_version.py
parent0892471500f877513f4f983e74858e8421dd87ef (diff)
downloadgenenetwork4-f063893efa75dd58a9ef125bbbc4e64f84721dd4.tar.gz
* test/python/server_test_case.py (ServerTestCase): probe SQL_URI
credentials, not just the port

Mirrors the Rust-side fix in 4a2cf5b on the Python suites: the old
skip check connected to 127.0.0.1:3306, so tests ran (and failed)
whenever a server was listening but rejected the credentials.
database_reachable() now performs the real
mysql_native_password handshake and skips only when the database is
genuinely unusable; the five DB-mapped test modules use it instead
of their local port probes.

* test/python/test_{groups,group_by_name,group_strains,species,species_by_name}.py
(database_reachable): use the shared probe; drop local copies.
Diffstat (limited to 'test/python/test_version.py')
0 files changed, 0 insertions, 0 deletions