Browse Source

🐛 Fix tests imports

pull/11/head
Sebastián Ramírez 7 years ago
parent
commit
ad268bb80e
  1. 7
      tests/main.py

7
tests/main.py

@ -1,4 +1,4 @@
from fastapi.applications import ( from fastapi import (
Body, Body,
Cookie, Cookie,
Depends, Depends,
@ -215,11 +215,6 @@ def get_header(head_name=Header(None, convert_underscores=False)):
return head_name return head_name
@app.get("/param")
def get_param(par=Param(None)):
return par
@app.get("/security") @app.get("/security")
def get_security(sec=Security(HTTPBasic())): def get_security(sec=Security(HTTPBasic())):
return sec return sec

Loading…
Cancel
Save