Add email validation (#40)

* modify tests

*  Add email-validator to Dockerfiles

* ♻️ Update random email generation

* ♻️ Re-apply email validation after rebase

Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
This commit is contained in:
Teomor Szczurek
2020-04-06 11:36:29 +02:00
committed by GitHub
parent 1d8678235d
commit 970a182ec8
8 changed files with 28 additions and 25 deletions

View File

@@ -1,6 +1,6 @@
FROM python:3.7
RUN pip install requests pytest tenacity passlib[bcrypt] "fastapi>=0.16.0" psycopg2-binary SQLAlchemy
RUN pip install requests pytest tenacity passlib[bcrypt] "fastapi>=0.16.0" psycopg2-binary SQLAlchemy email_validator
# For development, Jupyter remote kernel, Hydrogen
# Using inside the container: