Skip to content

Commit

Permalink
Save a handle to TEManager in test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
sajith committed Jan 25, 2024
1 parent 5a8c5e7 commit 2cc5323
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions swagger_server/test/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,8 @@ def create_app(self):

app = create_app()

# TODO: we need a handle to TEManager in tests, so we will use
# this. There must be a better way to accesss this though.
self.te_manager = app.te_manager

return app.app

0 comments on commit 2cc5323

Please sign in to comment.