Skip to content

Commit

Permalink
Tests, WebHost: enable Flask DEBUG mode for tests
Browse files Browse the repository at this point in the history
This provides the actual error if a test raised an exception on the server.
  • Loading branch information
black-sliver committed Jul 4, 2024
1 parent bbbbef6 commit b1c0b16
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/webhost/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ def setUpClass(cls) -> None:
}
raw_app.config.update({
"TESTING": True,
"DEBUG": True,
})
try:
cls.app = get_app()
Expand Down

0 comments on commit b1c0b16

Please sign in to comment.