Commits

Author Commit Message Labels Comments Date
Greg Ward
Remove now-unnecessary EximDebugSMTP class. This makes issue #1 obsolete by removing the use of netcat.
Greg Ward
Control Exim directly via pipes so we can ditch the netcat hack.
Greg Ward
Import modules, not the objects in them. This is standard practice for a variety of good reasons: * pollutes the current namespace with fewer names * makes it easier to use additional stuff from the imported module
Greg Ward
Remove incomplete, presumably unused method _checkLast().
Greg Ward
Rename local variables and function params for PEP 8 conformance. Actually, this conforms to the *spirit* of PEP 8 more than the letter. PEP 8 says Function names should be lowercase, with words separated by underscores as necessary to improve readability. mixedCase is allowed only in contexts where that's already the prevailing style (e.g. threading.py), to retain backwards compatibility. but it doesn't say anything about the case of local variable…
Greg Ward
Make all lines < 80 columns (more PEP 8 conformance)
Greg Ward
Add whitespace to improve PEP8 conformance. This fixes all PEP 8 violations detected by the pep8 tool *except* "line too long".
Greg Ward
Factor out _assertResponse() to improve failure reporting.
Greg Ward
Fix so netcat only listens on localhost interface. No need to expose exim's test SMTP interface to the whole wide Internet.
Greg Ward
Use netcat -c rather than -e. At least on Debian 6 (squeeze), this is necessary: -e just specifies a file to exec without any arguments, whereas -c takes a shell command that is run by '/bin/sh -c'.
Greg Ward
Don't assume /home/david exists: some of us are not called David. Instead, log to the current dir. (Hmmm: perhaps /tmp would be better?)
David North
Add recursive EXPN support Fix skipping of 'not for real!' buffer text to be more robust
David North
Typo
David North
Rename to better name
David North
Examples!
David North
Fix to default debug mode to off
David North
All messages which assert string matches now take a regex not a literal This allows one to avoid e.g. slightly varying spam scores causing failures
David North
Clean up *all* generated sessions properly, not just the first one
David North
Start of allowing the human-readable messages to be asserted as well as the SMTP status codes
David North
Class renaming to make the responsibility split clearer
David North
Added first-class methods for asserting spam (GTUBE) and viruses (EICAR) in the DATA are rejected
David North
Use the port zero trick to make sure we use a different free port for every exim session spawned Don't forget to return self from all the session methods Add some debug output
David North
README
David North
Re-org
David North
A bit of re-org into separate files within the package
David North
The bones of eximunit: a testcase extension with SMTP methods, implemented using a rather hacky wrapper around exim4 -bhc
David North
Ignore *.pyc