Skip to content

Commit

Permalink
Realizacao do merge da branch 3-url_pauta
Browse files Browse the repository at this point in the history
US3 - Adição de campo de URL de vídeo no envio do e-mail da sugestão de pauta
  • Loading branch information
GabrielRoger07 authored Jul 28, 2024
2 parents a571c98 + 0b56e62 commit 980b34b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/controller/pautaController.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ async def simple_send(email: EmailSchema) -> JSONResponse:
<p>Responsável: {email.responsavel}</p>
<p>Telefone do Responsável: {email.telefone_responsavel}</p>
<p>Email para Contato: {email.email_contato}</p>
<p>URL do video: {email.url_video}</p>
</body>
</html>
"""
Expand Down
3 changes: 2 additions & 1 deletion src/domain/models/pautaSchema.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ class EmailSchema(BaseModel):
local: str
responsavel: str
telefone_responsavel: str
email_contato: str
email_contato: str
url_video: str
3 changes: 2 additions & 1 deletion tests/test_pauta.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ async def test_simple_send():
"local": "Exemplo de Local",
"responsavel": "Exemplo de Responsável",
"telefone_responsavel": "Exemplo de Telefone",
"email_contato": "[email protected]"
"email_contato": "[email protected]",
"url_video": "https://www.youtube.com/watch?v=yTpI3blS2eE",
}


Expand Down

0 comments on commit 980b34b

Please sign in to comment.