Skip to content

Refactor tests to use httpx instead of requests, improve language mapping, and update acquisition link logic#60

Open
ronibhakta1 wants to merge 1 commit intomainfrom
fix/#55
Open

Refactor tests to use httpx instead of requests, improve language mapping, and update acquisition link logic#60
ronibhakta1 wants to merge 1 commit intomainfrom
fix/#55

Conversation

@ronibhakta1
Copy link
Copy Markdown
Collaborator

Closes #46 #55 #54 #53

  • Replaced all instances of requests.get with httpx.get in test cases.
  • Enhanced the language mapping tests to ensure proper caching and error handling.
  • Modified acquisition link tests to reflect changes in provider data structure.
  • Updated assertions in various tests to align with new expected outcomes.
  • Improved facet building tests to ensure correct availability link titles and properties.
  • Added retry logic tests for transient HTTP errors and transport errors.
Screenshot 2026-04-03 at 2 00 34 AM

…ping, and update acquisition link logic

- Replaced all instances of requests.get with httpx.get in test cases.
- Enhanced the language mapping tests to ensure proper caching and error handling.
- Modified acquisition link tests to reflect changes in provider data structure.
- Updated assertions in various tests to align with new expected outcomes.
- Improved facet building tests to ensure correct availability link titles and properties.
- Added retry logic tests for transient HTTP errors and transport errors.
@ronibhakta1 ronibhakta1 requested a review from MarcCoquand April 3, 2026 18:50
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.

Hide "Read Online" for all trusted ebook providers

1 participant