Skip to content

Commit

Permalink
fix tests part 7
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgaspar committed May 31, 2024
1 parent 870282d commit 52611cc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_addon.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,12 @@ def setUp(self):
self.app.config["ADDON_MANAGERS"] = [
"tests.fixtures.addon_manager.DummyAddOnManager"
]
self.ctx = self.app.app_context()
self.ctx.push()
self.appbuilder = AppBuilder(self.app)

def tearDown(self):
self.ctx.pop()
self.appbuilder = None
self.app = None
self.db = None
Expand Down

0 comments on commit 52611cc

Please sign in to comment.