(db: Session)
| 19 | |
| 20 | |
| 21 | def test_create_user(db: Session) -> None: |
| 22 | email = random_email() |
| 23 | password = random_lower_string() |
| 24 | user_in = UserCreate(email=email, password=password) |
| 25 | user = create_user(session=db, user_create=user_in) |
| 26 | assert user.email == email |
| 27 | assert hasattr(user, "hashed_password") |
| 28 | |
| 29 | |
| 30 | def test_check_if_user_is_active(db: Session) -> None: |
nothing calls this directly
no test coverage detected