My django projects use two type of database (mariadb and mongoengine) I have no idea how to write the unittest that test both of them in the same testcase. please guide me.
now i try to use fixtures_mongoengine to write fixture mongo data but that cannot use with mysql fixture in the same testcase
If you are using multiple database like:
You may use
TransactionTestCaselike:reference the document here.
I don't know if
mongoengineworks, you could have a try.