From 3f7b7837fbd19014d2737632e4284fdf1fc73121 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Thu, 21 Mar 2019 18:46:02 +0400 Subject: [PATCH] :twisted_rightwards_arrows: Merge PR #72 --- docs/python-types.md | 2 +- pending_tests/main.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/python-types.md b/docs/python-types.md index e5ea65442..acaf1303e 100644 --- a/docs/python-types.md +++ b/docs/python-types.md @@ -29,7 +29,7 @@ John Doe The function does the following: -* Takes a `fist_name` and `last_name`. +* Takes a `first_name` and `last_name`. * Converts the first letter of each one to upper case with `title()`. * Concatenates them with a space in the middle. diff --git a/pending_tests/main.py b/pending_tests/main.py index 8af86f693..cb464cb31 100644 --- a/pending_tests/main.py +++ b/pending_tests/main.py @@ -62,7 +62,7 @@ class FakeDB: "johndoe": { "username": "johndoe", "password": "shouldbehashed", - "fist_name": "John", + "first_name": "John", "last_name": "Doe", } } @@ -87,7 +87,7 @@ class TokenUserData(BaseModel): class UserInDB(BaseModel): username: str password: str - fist_name: str + first_name: str last_name: str @@ -109,7 +109,7 @@ def require_user( class UserOut(BaseModel): username: str - fist_name: str + first_name: str last_name: str