mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
models: Replace realm.uri with realm.url.
In #23380, we are changing all occurrences of uri with url in order to follow the latest URL standard. Previous PRs #25038 and #25045 has replaced the occurences of uri that has no direct relation with realm. This commit changes just the model property, which has no API compatibility concerns.
This commit is contained in:
@@ -36,7 +36,7 @@ def test_generated_curl_examples_for_success(client: Client) -> None:
|
||||
# A limited Markdown engine that just processes the code example syntax.
|
||||
realm = get_realm("zulip")
|
||||
md_engine = markdown.Markdown(
|
||||
extensions=[markdown_extension.makeExtension(api_url=realm.uri + "/api")]
|
||||
extensions=[markdown_extension.makeExtension(api_url=realm.url + "/api")]
|
||||
)
|
||||
|
||||
# We run our curl tests in alphabetical order (except that we
|
||||
|
||||
Reference in New Issue
Block a user