Django testing of neo4j database
问题 I'm using django with neo4j as database and noemodel as OGM. How do I test it? When I run python3 manage.py test all the changes, my tests make are left. And also how do I make two databases, one for testing, another for working in production and specify which one to use how? 回答1: I assume the reason all of your changes are being retained is due to using the same neo4j database for testing as you are using in development. Since neomodel isn't integrated tightly with Django it doesn't act the