Overrides django’s fixture setup and teardown code to use DataSets.
Starts a transaction at the begining of a test and rolls it back at the end.
See Using Fixture With Django for a complete example.
Finds a list called datasets and loads them
This is done in a transaction if possible. I’m not using the settings.DATABASE_SUPPORTS_TRANSACTIONS as I don’t wnat to assume that connection.create_test_db() might not have been called