最佳答案
Django 1.8 shipped with a refactored TestCase which allows for data initialization at the class level using transactions and savepoints via the setUpTestData() method. This is in contrast to unittest's setUp() which runs before every single test method.
Question: What is the use case for ABC0 in Django now that setUpTestData()
exists?
I'm looking for objective, high-level answers only, as otherwise this question would be too broad for Stack Overflow.