Author: Antonio Cuni <[email protected]>
Branch: 
Changeset: r503:7b97bbf2c116
Date: 2011-05-09 16:08 +0200
http://bitbucket.org/pypy/buildbot/changeset/7b97bbf2c116/

Log:    add a small file to test email sending

diff --git a/bitbucket_hook/test_send_email.py 
b/bitbucket_hook/test_send_email.py
new file mode 100644
--- /dev/null
+++ b/bitbucket_hook/test_send_email.py
@@ -0,0 +1,8 @@
+def test_send_email():
+    from bitbucket_hook.mail import send
+    body = "This is a test to see if the bitbucket hook can send emails to the 
pypy-commit mailing list"
+    send('antocuni <[email protected]>',
+         '[email protected]',
+         "this is a test",
+         body,
+         test=True)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to