Skip to content

Commit

Permalink
[bugfix] Allow to run tests with oauth
Browse files Browse the repository at this point in the history
Use api.php instead of index.php to check if site in alive.

Bug: T352606

Change-Id: I2a436d0f1cd2c06201688d4ebe211bf97c787640
  • Loading branch information
Mpaa committed Dec 16, 2023
1 parent c639f72 commit 1db5606
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/aspects.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 1db5606

Please sign in to comment.