Changeset 10:d5329a2a05b7 in mailjam for postman/tests/mta.py
- Timestamp:
- May 20, 2012, 9:39:51 AM (12 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
postman/tests/mta.py
r5 r10 6 6 from postman.models import Member, MailingList 7 7 8 9 8 class TestSendmail(TestCase): 10 9 def setUp(self): 11 config = {'private': False, 'archive': '/tmp/postman-tests/archive',12 'storage': '/tmp/postman-tests/storage'}10 self.configfile = os.path.join(os.path.dirname(__file__), 11 'postman.conf') 13 12 self.mailing_list = MailingList('test_list', 'test_list@example.com', 14 members={}, config =config)13 members={}, configfile=self.configfile) 15 14 self.member = Member('test@example.com') 16 15 self.mta = Sendmail(self.mailing_list)
Note:
See TracChangeset
for help on using the changeset viewer.