(db: Session)
| 25 | |
| 26 | @pytest.fixture |
| 27 | def test_other_user(db: Session) -> dict[str, Any]: |
| 28 | email = random_email() |
| 29 | password = random_lower_string() |
| 30 | full_name = random_lower_string() |
| 31 | |
| 32 | user_in = UserCreate(email=email, password=password, full_name=full_name) |
| 33 | user = create_user(session=db, user_create=user_in) |
| 34 | |
| 35 | return {"id": user.id, "email": user.email} |
| 36 | |
| 37 | |
| 38 | @pytest.fixture |
nothing calls this directly
no test coverage detected