Skip to content

Fix page URL argument order in update_page_for_platform - #375

Merged
sebastiaanspeck merged 2 commits into
tldr-pages:mainfrom
sanaemiSAMEER191:fix/update-page-platform-url
Nov 14, 2026
Merged

sebastiaanspeck merged 2 commits into
tldr-pages:mainfrom
sanaemiSAMEER191:fix/update-page-platform-url

Conversation

@sanaemiSAMEER191

Copy link
Copy Markdown
Contributor

Summary

  • Fixed the argument order passed to get_page_url() in update_page_for_platform().
  • Added a regression test to verify that the correct platform-specific URL is requested.

Testing

  • Added a test using monkeypatch to mock urlopen and store_page_to_cache.
  • Ran python -m pytest.
  • All 34 tests passed.

@sanaemiSAMEER191

Copy link
Copy Markdown
Contributor Author

Hi @sebastiaanspeck ! Thanks for reviewing my PR and approving the changes. All CI checks are now passing. I just wanted to check whether anything else is needed from my side before it can be merged. Thanks!

@sebastiaanspeck
sebastiaanspeck merged commit fccd16f into tldr-pages:main Nov 14, 2026
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants