Full threadloftsy·I think best practice here is to run the whole test in a transaction and then roll back the transaction at the end. This is the approach Django uses.View on HN