refactor: rebrand decp.info to colibre #57
- Rename project from decp.info to colibre across all codebase - Update domain from https://decp.info to https://colibre.fr - Update GitHub repo references to ColinMaudry/colibre - Rename deployment files: decpinfo-backup.* → colibre-backup.* - Update project configuration and documentation - Rename project assets: decp.info.png → colibre.png - Update environment variables and constants (DOMAIN_NAME, TOKEN_PREFIX, GITHUB_REPO, etc.) - Update URLs in all pages, tests, and configuration files - Keep DECP acronym in text (unchanged per requirements) - Add rebrand note to README.md Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -23,8 +23,8 @@ def fake_client(monkeypatch):
|
||||
monkeypatch.setenv("APP_BASE_URL", "http://localhost:8050")
|
||||
monkeypatch.setenv("BREVO_TEMPLATE_VERIFY_ID", "11")
|
||||
monkeypatch.setenv("BREVO_TEMPLATE_RESET_ID", "22")
|
||||
monkeypatch.setenv("MAIL_FROM", "noreply@decp.info")
|
||||
monkeypatch.setenv("MAIL_FROM_NAME", "decp.info")
|
||||
monkeypatch.setenv("MAIL_FROM", "noreply@colibre")
|
||||
monkeypatch.setenv("MAIL_FROM_NAME", "colibre")
|
||||
return client
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ def test_send_verification_email(fake_client):
|
||||
call = calls[0]
|
||||
assert call["template_id"] == 11
|
||||
assert call["to"][0].email == "a@b.c"
|
||||
assert call["sender"].email == "noreply@decp.info"
|
||||
assert call["sender"].email == "noreply@colibre"
|
||||
assert "/auth/verify-email?token=TOKEN123" in call["params"]["link"]
|
||||
assert call["headers"] == {"X-Sib-Sandbox": "drop"} # DEVELOPMENT=true en tests
|
||||
|
||||
|
||||
@@ -17,5 +17,5 @@ def test_send_verification_email_sandbox(monkeypatch):
|
||||
mailer.init_mailer()
|
||||
# Ne doit pas lever : l'API Brevo accepte la requête en sandbox.
|
||||
mailer.send_verification_email(
|
||||
os.getenv("MAIL_FROM", "noreply@decp.info"), "INTEGRATION_TOKEN"
|
||||
os.getenv("MAIL_FROM", "noreply@colibre"), "INTEGRATION_TOKEN"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user