Changeset 7473
- Timestamp:
- 15 Jan 2012, 00:38:50 (13 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/interfaces.py
r7470 r7473 915 915 the document. 916 916 """ 917 918 class IMailService(Interface): 919 """A mail service. 920 """ 921 922 def __call__(): 923 """Get the default mail delivery. 924 """ -
main/waeup.sirp/trunk/src/waeup/sirp/smtp.py
r7472 r7473 57 57 from zope.interface import Interface 58 58 from zope.sendmail.interfaces import IMailDelivery 59 60 61 # XXX: Move to interfaces.py 62 class IMailService(Interface): 63 64 def __call__(): 65 """Get the default mail delivery. 66 """ 59 from waeup.sirp.interfaces import IMailService 67 60 68 61 class DefaultMailService(grok.GlobalUtility): -
main/waeup.sirp/trunk/src/waeup/sirp/tests/test_smtp.py
r7472 r7473 32 32 from zope.sendmail.interfaces import IMailDelivery 33 33 from waeup.sirp.app import University 34 from waeup.sirp.interfaces import IMailService 34 35 from waeup.sirp.smtp import ( 35 36 encode_header_item, encode_address, encode_body, FakeSMTPDelivery, 36 IMailService,send_mail)37 send_mail) 37 38 from waeup.sirp.testing import FunctionalLayer, FunctionalTestCase 38 39
Note: See TracChangeset for help on using the changeset viewer.