From ad268bb80e91d2da7ade632ec10c7e5888277165 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Mon, 10 Dec 2018 08:01:34 +0400 Subject: [PATCH] :bug: Fix tests imports --- tests/main.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/tests/main.py b/tests/main.py index 6795baae4..697c2e520 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