New submission from Tennessee Leeuwenburg <tleeuwenb...@gmail.com>: Okay, I really don't know if I'm doing the right things to test meaningfully here. However, 100% coverage of the PureProxy class has been achieved.
I also slightly changed smtpd.py in a way that I'm not confident is what people would want. I pushed one print statement into the debug stream, and raised an exception in a place where it looked like the expected behaviour wasn't properly defined, but it's probably not a good place to fail if you're using the code. I'm also not an SMTP expert... yes there's an RFC but I was going for coverage with "just enough" correctness. I'm more than happy to revisit this work if anyone has any comments or issues, so just let me know. ---------- files: PureProxy.diff keywords: patch messages: 142696 nosy: giampaolo.rodola, ncoghlan, tleeuwenburg priority: normal severity: normal status: open title: Coverage of smtpd.py Added file: http://bugs.python.org/file22994/PureProxy.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12815> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com