From 367c06591f07ff6acb00b64b3eb740ebe07de0e2 Mon Sep 17 00:00:00 2001 From: Achille Roussel Date: Wed, 24 Apr 2024 19:26:11 -0700 Subject: [PATCH] remove impossible test validated by mypy type checks Signed-off-by: Achille Roussel --- tests/test_fastapi.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/test_fastapi.py b/tests/test_fastapi.py index 32154f6..5c2135d 100644 --- a/tests/test_fastapi.py +++ b/tests/test_fastapi.py @@ -69,10 +69,6 @@ def read_root(): resp = client.post("/dispatch.sdk.v1.FunctionService/Run") self.assertEqual(resp.status_code, 400) - def test_Dispatch_no_app(self): - with self.assertRaises(ValueError): - create_dispatch_instance(None, endpoint="http://127.0.0.1:9999") - @mock.patch.dict(os.environ, {"DISPATCH_ENDPOINT_URL": ""}) def test_Dispatch_no_endpoint(self): app = fastapi.FastAPI()