
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Feb 5, 2009, at 7:59 AM, Ian Eiloart wrote:
I think this is holding me up on my lmtp code. I need to be able to
write a test that allows me to create a list, add a member, and
change the member's posting permissions. All so that the lmtp server
can reject the message if the sender doesn't have permission to post
to the list.
Using the command line scripts in the test is not the right way to do
that. There are internal APIs for all that stuff. See some of the
existing doctests.
The command line scripts should be a thin wrapper around the internal
APIs, mostly to do option parsing and a bit of setup. Some of the
older scripts haven't been updated yet, but that's the design
principle I'm shooting for.
Barry
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Darwin)
iEYEARECAAYFAkmLGEwACgkQ2YZpQepbvXGn9QCbB2TFGwpEQaueONKVUq4At4YY HJkAnibf8jJd/JB4PlSta9X/4yByD/2K =7LPX -----END PGP SIGNATURE-----