Changeset 10:d5329a2a05b7 in mailjam for postman/tests/models.py
- Timestamp:
- May 20, 2012, 9:39:51 AM (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
postman/tests/models.py
r1 r10 1 1 # -*- coding: utf-8 -*- 2 2 3 import os 3 4 from unittest import TestCase 4 5 from postman.models import Member, MailingList … … 18 19 class TestMailingList(TestCase): 19 20 def setUp(self): 20 config = {'private': False, 'archive': '/tmp/postman-tests/archive', 21 'storage': '/tmp/postman-tests/storage'} 21 configfile = os.path.join(os.path.dirname(__file__), 'postman.conf') 22 22 self.mailing_list = MailingList('test_list', 'test_list@example.com', 23 members={}, config =config)23 members={}, configfile=configfile) 24 24 self.member = Member('test@example.com') 25 25
Note:
See TracChangeset
for help on using the changeset viewer.