Skip to content

Commit 831feea

Browse files
remove impossible test validated by mypy type checks
Signed-off-by: Achille Roussel <achille.roussel@gmail.com>
1 parent 57a55c8 commit 831feea

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

tests/test_fastapi.py

-4
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,6 @@ def read_root():
6969
resp = client.post("/dispatch.sdk.v1.FunctionService/Run")
7070
self.assertEqual(resp.status_code, 400)
7171

72-
def test_Dispatch_no_app(self):
73-
with self.assertRaises(ValueError):
74-
create_dispatch_instance(None, endpoint="http://127.0.0.1:9999")
75-
7672
@mock.patch.dict(os.environ, {"DISPATCH_ENDPOINT_URL": ""})
7773
def test_Dispatch_no_endpoint(self):
7874
app = fastapi.FastAPI()

0 commit comments

Comments
 (0)