On 1/3/21 5:22 PM, Mark Sapiro wrote:
> 
> Tests run that way will use their own sqlite DB which is removed after
> testing. You can use any database you like by configuring it in a file
> containing a [database] section with appropriate class and url
> definitions and then doing something like
> 
>> MAILMAN_EXTRA_TESTING_CFG=/path/to/db/config python3 -m nose2 -v 
>> mailman.model.test


For more on this see
<https://docs.mailman3.org/projects/mailman/en/latest/src/mailman/docs/contribute.html#testing-with-postgresql-and-mysql>.


-- 
Mark Sapiro <m...@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan
_______________________________________________
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

Reply via email to