fix(mail-templates): run under Riposte's exec() runner (1.0.1)

The runner execs a script without __file__ or __name__: the Test button
failed on __file__ and render-mail-template never reached main(). The
test no longer imports the renderer, and the renderer calls main()
unconditionally like the other integrations.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BJu1jvaug4qY1kMgz8wx41
This commit is contained in:
2026-10-19 08:49:46 +00:00
parent dcf257d887
commit 046810c1f6
3 changed files with 10 additions and 30 deletions
@@ -580,5 +580,4 @@ def main():
sys.exit(1)
if __name__ == "__main__":
main()
main()