jenkins-bot submitted this change.
[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
---
M tests/aspects.py
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/tests/aspects.py b/tests/aspects.py
index ff191ee..f6dc453 100644
--- a/tests/aspects.py
+++ b/tests/aspects.py
@@ -940,7 +940,7 @@
# 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)
To view, visit change 983522. To unsubscribe, or for help writing mail filters, visit settings.