(db: Session)
| 21 | |
| 22 | |
| 23 | def create_random_user(db: Session) -> User: |
| 24 | email = random_email() |
| 25 | password = random_lower_string() |
| 26 | user_in = UserCreate(email=email, password=password) |
| 27 | user = services.create_user(session=db, user_create=user_in) |
| 28 | return user |
| 29 | |
| 30 | |
| 31 | def authentication_token_from_email( |