-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix tests and downloads from GitHub (#47)
* Fix broken tests. `TestBase16Render` needed the third argument - the app name. Update `TestBase16ColorschemeList_GetBase16Colorscheme` to not rely on network downloads. Instead, imbed the content of the file from github to test the parsing. * Treat non-200 HTTP codes as errors. GitHub appears to now return a 404 when no GithubToken is specified. Instead of failing to retrieve and having empty templates or repo lists, return an error message to the user by propagating the HTTP error code. * Permit ".yml" YAML files in scheme repositories. Some schemes, like "vice", use the three-letter file extension.
- Loading branch information
Showing
3 changed files
with
24 additions
and
3 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
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