Unit Testing Django with a NoSQL Backend
However, what if you are using a NoSQL database backend like MongoDB, Cassandra, CouchDB or something similar and you aren’t using the Django ORM? How do you handle setting up and tearing down the database environments?
I would kindly remind you that unit tests are supposed to test components in isolation, so theoretically you wouldn’t need a database connection. But many are using unit test frameworks for performing more integration or functional tests.
Original title and link: Unit Testing Django with a NoSQL Backend (NoSQL databases © myNoSQL)
via: http://www.belchak.com/2011/02/07/unit-testing-django-with-a-nosql-backend/