[Mailman-Developers] Re: which database is used in unittest?

2021-01-23 Thread baguazhangba
good point, thanks Abhilash!
Mike
___
Mailman-Developers mailing list -- mailman-developers@python.org
To unsubscribe send an email to mailman-developers-le...@python.org
https://mail.python.org/mailman3/lists/mailman-developers.python.org/
Mailman FAQ: https://wiki.list.org/x/AgA3

Security Policy: https://wiki.list.org/x/QIA9


[Mailman-Developers] Re: which database is used in unittest?

2021-01-23 Thread Abhilash Raj


On Thu, Jan 21, 2021, at 10:38 AM, baguazhan...@gmail.com wrote:
> Thanks Mark!
> We don't want to leave artifacts behind but want to see the testing 
> data in the db before it wipes about. The goal is to see if we can 
> write some data to another database. 

The test suite doesn’t just wipe data at the end of the test run, it will
clean up after each set of tests to make sure that they can expect a
clean slate when running. So, you won’t be able to simply skip the
deletion at the end of the run and expect some data in the database.

You can instead create lists and data by running a dev server locally
and the inspect the database.

> thanks!
> Mike
> ___
> Mailman-Developers mailing list -- mailman-developers@python.org
> To unsubscribe send an email to mailman-developers-le...@python.org
> https://mail.python.org/mailman3/lists/mailman-developers.python.org/
> Mailman FAQ: https://wiki.list.org/x/AgA3
> 
> Security Policy: https://wiki.list.org/x/QIA9
>

-- 
  thanks,
  Abhilash Raj (maxking)
___
Mailman-Developers mailing list -- mailman-developers@python.org
To unsubscribe send an email to mailman-developers-le...@python.org
https://mail.python.org/mailman3/lists/mailman-developers.python.org/
Mailman FAQ: https://wiki.list.org/x/AgA3

Security Policy: https://wiki.list.org/x/QIA9


[Mailman-Developers] Issues gathering list members

2021-01-23 Thread Stephen J. Turnbull
Emanuel,

Mailman-Developers is not the best place to send this.  Such problems
are rarely bugs, and the active developers all read Mailman-Users
frequently.  You should send inquiries about installation and
configuration problems to mailman-us...@mailman3.org, because it's
quite possible that other users (== site and list admins, not
subscribers!) have encountered your problem.  You're much more likely
to get a *timely* and useful answer there, simply because there are
more knowledgeable folks there -- including us.

costavitor...@gmail.com writes:

 > I'm testing sending emails by telnet to a mailing list.

Test-mail-by-telnet is useful to check if you can connect to Mailman
on a port.  Otherwise it is a risky idea unless you are a serious
standards geek and a perfectionist, and even then it's a PITA.
Mailman does quite a few checks on mail for distribution, and may
*shunt* mail that does not conform to RFCs 821 and 822, may *discard*
mail that has no body after MIME processing, and will *hold, discard,
or reject* mail that matches various other rules.

I strongly recommend that you use a regular mail client, or a
preformatted test mail and inject it with an MTA.  Even a very simple
one (Berkeley mail or mailx are quick to start) will do (as long as
you stick to pure ASCII mail).  That removes one variable from the
diagnosis process.

Steve
___
Mailman-Developers mailing list -- mailman-developers@python.org
To unsubscribe send an email to mailman-developers-le...@python.org
https://mail.python.org/mailman3/lists/mailman-developers.python.org/
Mailman FAQ: https://wiki.list.org/x/AgA3

Security Policy: https://wiki.list.org/x/QIA9