Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error handling when trying to load template that doesn't exist #10

Closed
editf opened this issue Mar 6, 2023 · 1 comment
Closed

Error handling when trying to load template that doesn't exist #10

editf opened this issue Mar 6, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@editf
Copy link
Collaborator

editf commented Mar 6, 2023

Currently, trying to load a template that doesn't exist using load_template causes an unhandled KeyError exception.

@editf editf added the bug Something isn't working label Mar 6, 2023
editf added a commit that referenced this issue Mar 6, 2023
This adds two unit tests for loading a template which currently fail.
See #10 and #12 for details.
@editf editf mentioned this issue Mar 6, 2023
@editf editf self-assigned this Mar 7, 2023
@editf
Copy link
Collaborator Author

editf commented Mar 7, 2023

This causes test_load_template_not_found to fail due to the KeyError.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant