Skip to content

Commit

Permalink
fix: try fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
talboren committed Dec 4, 2024
1 parent 1f10aeb commit 96e0cf3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/fixtures/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,14 @@ def test_app(monkeypatch, request):
if "keep.api.api" in sys.modules:
importlib.reload(sys.modules["keep.api.api"])

if "keep.api.config" in sys.modules:
importlib.reload(sys.modules["keep.api.config"])

# Import and return the app instance
from keep.api.api import get_app
from keep.api.config import on_starting

on_starting()
app = get_app()

# Manually trigger the startup event
Expand Down

0 comments on commit 96e0cf3

Please sign in to comment.