4 Jan 2021 4 Jan '21
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 firstname.lastname@example.org The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan