From 1db5606ce87b6fd200ab5ce588fc737e9b6d122b Mon Sep 17 00:00:00 2001 From: Mpaa Date: Sat, 16 Dec 2023 18:50:34 +0100 Subject: [PATCH] [bugfix] Allow to run tests with oauth Use api.php instead of index.php to check if site in alive. Bug: T352606 Change-Id: I2a436d0f1cd2c06201688d4ebe211bf97c787640 --- tests/aspects.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/aspects.py b/tests/aspects.py index ff191ee9d5..f6dc4535ae 100644 --- a/tests/aspects.py +++ b/tests/aspects.py @@ -940,7 +940,7 @@ class has declared are needed. # obsolete without a mapping to a hostname. with suppress(KeyError): data['hostname'] = ( - data['site'].base_url(data['site'].path())) + data['site'].base_url(data['site'].apipath())) cm.__exit__(None, None, None)