Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
MisterXY89 committed Jan 16, 2024
1 parent 5c7a881 commit c3ba3a0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/test_web_app.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import pytest
from flask import Flask

from chat_doc.app.app import App
# from chat_doc.app.app import App


@pytest.fixture
def client():
app_instance = App()
app_instance = Flask("test")
app = app_instance.app
app.config["TESTING"] = True # Enable testing mode
with app.test_client() as client:
Expand Down

0 comments on commit c3ba3a0

Please sign in to comment.