Last change
on this file since 10:d5329a2a05b7 was 5:573fdae8b1f6, checked in by Francisco de Borja Lopez Rio <borja@…>, 12 years ago |
Added tests for postman.daemon.Postman
Added a method to postman.daemon.Postman to "clear" all the storage associated
to a given postman instance (removing all the files from disk)
Fixed some bugs, mostly caused by typos through the sources, detected while
writing more tests
Removed the storage and archive attributes from postman.models.MailingList,
now they are methods "marked" as properties using the @property decorator.
This keeps the storage objects from being serialized into json objects by
the storage backend (de-serializing them caused some trouble and it is not
necessary at all)
Added create() and delete() methods to postman.storage.JsonStorage. the first
one ensures the path to the storage file exists (creating all subdirs if
necessary) and the second one deletes the storage file from disk
|
File size:
85 bytes
|
Line | |
---|
1 | # -*- coding: utf-8 -*-
|
---|
2 |
|
---|
3 | from models import *
|
---|
4 | from mta import *
|
---|
5 | from daemon import *
|
---|
Note:
See
TracBrowser
for help on using the repository browser.