[Mailman-Developers] Fail to create a list with MM3 ALPHA

Ian Eiloart iane at sussex.ac.uk
Fri Feb 6 12:14:48 CET 2009



--On 5 February 2009 11:48:12 -0500 Barry Warsaw <barry at list.org> wrote:

> -----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.

Ah, fair point. I should have engaged my brain first. Actually, our tests 
do use the API. I'll shut up now, and take a closer look at why they're not 
working.

>
> 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-----



-- 
Ian Eiloart
IT Services, University of Sussex
x3148


More information about the Mailman-Developers mailing list