From: Sebastián Ramírez Date: Mon, 10 Dec 2018 04:01:34 +0000 (+0400) Subject: :bug: Fix tests imports X-Git-Tag: 0.1.11~67 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ad268bb80e91d2da7ade632ec10c7e5888277165;p=thirdparty%2Ffastapi%2Ffastapi.git :bug: Fix tests imports --- diff --git a/tests/main.py b/tests/main.py index 6795baae45..697c2e520b 100644 --- a/tests/main.py +++ b/tests/main.py @@ -1,4 +1,4 @@ -from fastapi.applications import ( +from fastapi import ( Body, Cookie, Depends, @@ -215,11 +215,6 @@ def get_header(head_name=Header(None, convert_underscores=False)): return head_name -@app.get("/param") -def get_param(par=Param(None)): - return par - - @app.get("/security") def get_security(sec=Security(HTTPBasic())): return sec