From d1b7a2dcb4d9dcd39aaeb649595f56864224767f Mon Sep 17 00:00:00 2001 From: Helena Adamkova <58051865+Ellenn-A@users.noreply.github.com> Date: Wed, 15 May 2024 15:23:51 +0100 Subject: [PATCH] testclient --- tests/test_endpoints.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/test_endpoints.py b/tests/test_endpoints.py index 0b919bd..e800b81 100644 --- a/tests/test_endpoints.py +++ b/tests/test_endpoints.py @@ -17,6 +17,14 @@ def json(self): return self.json_data +@pytest.fixture +def client(): + return TestClient(app) + + + + + # happy path def test_send_query(client,mocker):