mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-13 08:42:21 -05:00
more tests
This commit is contained in:
@@ -45,6 +45,7 @@ class InvalidRequest(Exception):
|
||||
return str(self.to_dict())
|
||||
|
||||
|
||||
# TODO maintainability what is this for? How to unit test it?
|
||||
def register_errors(blueprint):
|
||||
@blueprint.errorhandler(InvalidEmailError)
|
||||
def invalid_format(error):
|
||||
|
||||
Reference in New Issue
Block a user