old_contents: from django.test import TestCase
  import pytest
  
  from ..models import JSONReformTaxCalculator
  from ..forms import TaxBrainForm
  from ...test_assets.utils import get_taxbrain_model, stringify_fields
  from ...test_assets.test_models import TaxBrainTableResults, TaxBrainModelsTest
  
  
  class TaxBrainJSONReformModelTest(TestCase):
      """Test taxbrain JSONReformTaxCalculator."""
  
      def setUp(self):
          # Every test needs a client.
          self.test_string = "".join(["1" for x in range(100000)])
  
      def test_create_reforms(self):
          self.reforms = JSONReformTaxCalculator.objects.create(
              reform_text=self.test_string,
              raw_reform_text=self.test_string,
              assumption_text=self.test_string,
              raw_assumption_text=self.test_string
          )
  
  
  class TaxBrainStaticResultsTest(TaxBrainTableResults, TestCase):
  
      def test_static_tc_lt_0130(self):
          self.tc_lt_0130(self.test_coverage_fields)
  
      def test_static_tc_gt_0130(self):
          self.tc_gt_0130(self.test_coverage_fields)
  
  
  class TaxBrainStaticFieldsTest(TaxBrainModelsTest, TestCase):
  
      def test_set_fields(self):
          start_year = 2017
          fields = self.test_coverage_gui_fields.copy()
          fields['first_year'] = start_year
  
          self.parse_fields(start_year, fields, Form=TaxBrainForm)
  
new_contents: from django.test import TestCase
  import pytest
  
  from ..models import JSONReformTaxCalculator
  from ..forms import TaxBrainForm
  from ...test_assets.utils import get_taxbrain_model, stringify_fields
  from ...test_assets.test_models import TaxBrainTableResults, TaxBrainFieldsTest
  
  
  class TaxBrainJSONReformModelTest(TestCase):
      """Test taxbrain JSONReformTaxCalculator."""
  
      def setUp(self):
          # Every test needs a client.
          self.test_string = "".join(["1" for x in range(100000)])
  
      def test_create_reforms(self):
          self.reforms = JSONReformTaxCalculator.objects.create(
              reform_text=self.test_string,
              raw_reform_text=self.test_string,
              assumption_text=self.test_string,
              raw_assumption_text=self.test_string
          )
  
  
  class TaxBrainStaticResultsTest(TaxBrainTableResults, TestCase):
  
      def test_static_tc_lt_0130(self):
          self.tc_lt_0130(self.test_coverage_fields)
  
      def test_static_tc_gt_0130(self):
          self.tc_gt_0130(self.test_coverage_fields)
  
  
  class TaxBrainStaticFieldsTest(TaxBrainFieldsTest, TestCase):
  
      def test_set_fields(self):
          start_year = 2017
          fields = self.test_coverage_gui_fields.copy()
          fields['first_year'] = start_year
  
          self.parse_fields(start_year, fields, Form=TaxBrainForm)
  
subject: Use correct base class in taxbrain/test_models