[PR #818] [MERGED] Addition of Test Cases #1025

Closed
opened 2026-02-28 00:03:17 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/spotipy-dev/spotipy/pull/818
Author: @mattrost
Created: 6/2/2022
Status: Merged
Merged: 6/18/2022
Merged by: @stephanebruckert

Base: masterHead: master


📝 Commits (5)

  • 18f1466 Added test_categories_country to use optional country selection for categories method.
  • 935878c Added test_categories_locale for testing locale method of categories.
  • ac11cc8 Added test_categories_limit_low and test_categories_limit_high to test the limit method of categories for edge cases.
  • 5a535ec Rearranged for flow
  • 53acfb0 Added test_category_playlists_limit_low and test_category_playlists_limit_high for testing the limit method.

📊 Changes

1 file changed (+35 additions, -0 deletions)

View changed files

📝 tests/integration/test_user_endpoints.py (+35 -0)

📄 Description

Adding test cases to test_user_endpoints.py. Test cases include "test_categories_country", "test_categories_locale", "test_categories_limit_low", "test_categories_limit_high", "test_category_playlists_limit_low", and "test_category_playlists_limit_high". All of these are testing optional function parameters that were not yet being tested.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/spotipy-dev/spotipy/pull/818 **Author:** [@mattrost](https://github.com/mattrost) **Created:** 6/2/2022 **Status:** ✅ Merged **Merged:** 6/18/2022 **Merged by:** [@stephanebruckert](https://github.com/stephanebruckert) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (5) - [`18f1466`](https://github.com/spotipy-dev/spotipy/commit/18f14660a02c5639e0e4c56b438080e5fa907a21) Added test_categories_country to use optional country selection for categories method. - [`935878c`](https://github.com/spotipy-dev/spotipy/commit/935878cbf2aaa9b330ea9fdd9d6689637a1b8b8e) Added test_categories_locale for testing locale method of categories. - [`ac11cc8`](https://github.com/spotipy-dev/spotipy/commit/ac11cc89eb154fa9d21830cfab4b39bc65c340a1) Added test_categories_limit_low and test_categories_limit_high to test the limit method of categories for edge cases. - [`5a535ec`](https://github.com/spotipy-dev/spotipy/commit/5a535ec2f482adca7a64525c887cef7a2a2d0356) Rearranged for flow - [`53acfb0`](https://github.com/spotipy-dev/spotipy/commit/53acfb0343c996b1b3444ed92ac99b3265448c8a) Added test_category_playlists_limit_low and test_category_playlists_limit_high for testing the limit method. ### 📊 Changes **1 file changed** (+35 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `tests/integration/test_user_endpoints.py` (+35 -0) </details> ### 📄 Description Adding test cases to test_user_endpoints.py. Test cases include "test_categories_country", "test_categories_locale", "test_categories_limit_low", "test_categories_limit_high", "test_category_playlists_limit_low", and "test_category_playlists_limit_high". All of these are testing optional function parameters that were not yet being tested. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 00:03:17 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotipy#1025
No description provided.