txels/pretenders — pull request #9 by alexcouper (2012-05-25 17:33:38+00:00)
Title: A need for storage

@txels - I began adding the client and tests and then realised that some more thought probably needs to go in to how this is going to grow.

If the Mock SMTP server is to be based on smtpd then it will need to be run separately from the HTTP server used for getting email content.

This points to central storage.

We also have to consider whether the HTTP "answer" server for the Mock SMTP server should be run on its own or whether it could be combined with the Mock HTTP server.

Anyway, this refactors some shared client code into base.py and adds a client, tests and a dummy smtp server that we can extend once we've decided how we want it to behave.