Skip to content

Commit

Permalink
remove impossible test validated by mypy type checks
Browse files Browse the repository at this point in the history
Signed-off-by: Achille Roussel <[email protected]>
  • Loading branch information
achille-roussel committed Apr 25, 2024
1 parent e408b64 commit 367c065
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tests/test_fastapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 367c065

Please sign in to comment.