-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enhance test suite with additional API endpoint coverage
- Disabled rate limiting during tests by setting `limiter-enabled` to `False` when running under pytest. - Added new test cases: - `test_uptime_head` to check the HEAD request on `/uptime`. - Tests for various `/nx` endpoints including `icon`, `banner`, `screen`, `screens`, `full`, `all`, `base`, `dlc`, and `update`. - Tests for unsupported platforms and nonexistent games to ensure proper error handling.
- Loading branch information
Showing
3 changed files
with
87 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"titledb": { | ||
"0100000000010000": { | ||
"id": "0100000000010000", | ||
"name": "Super Mario Odyssey™", | ||
"publisher": "Nintendo", | ||
"releaseDate": 20171027, | ||
"description": "mario 64 but bad!!! /hj", | ||
"version": 0 | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters