🔥 Remove isort configuration, since we use Ruff now (#1144)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
This commit is contained in:
@@ -34,9 +34,11 @@ def test_get_users_normal_user_me(
|
||||
def test_create_user_new_email(
|
||||
client: TestClient, superuser_token_headers: dict[str, str], db: Session
|
||||
) -> None:
|
||||
with patch("app.utils.send_email", return_value=None), patch(
|
||||
"app.core.config.settings.SMTP_HOST", "smtp.example.com"
|
||||
), patch("app.core.config.settings.SMTP_USER", "admin@example.com"):
|
||||
with (
|
||||
patch("app.utils.send_email", return_value=None),
|
||||
patch("app.core.config.settings.SMTP_HOST", "smtp.example.com"),
|
||||
patch("app.core.config.settings.SMTP_USER", "admin@example.com"),
|
||||
):
|
||||
username = random_email()
|
||||
password = random_lower_string()
|
||||
data = {"email": username, "password": password}
|
||||
|
Reference in New Issue
Block a user