[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: h

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

2021-01-21 Thread baguazhangba
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. thanks! Mike ___ Mailman-Developers mailing list -- mailman-develo

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

2021-01-03 Thread baguazhangba
Thanks Mark for the answer! Now I'm able to use MAILMAN_EXTRA_TESTING_CFG=/tmp/mailman/sqilite.db python3 -m nose2 -v mailman.model.test and can see the file timestamp changed after I run unittest. but the sqlite database seems empty when I query tables like select * from mailinglist; I tried

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

2021-01-03 Thread baguazhangba
Hello All, Happy New Year 2021! I've configured mailman using sqlite as backend database. but when I run unittests, e.g. python3 -m nose2 -v mailman.model.test seems the data is not write to production sqlite database, so which database is used in unittest and how to check data in that db? th