

def test_decider(self):
    m = DeciderModel()
    m.title = 'bonjour'
    m.save()
    self.assertEqual(Translation.objects.count(), 0)
    self.assertEqual(CustomTranslationModel.objects.count(), 1)

dataset/ETHPy150Open ulule/django-linguist/linguist/tests/test_model_mixin.py ModelMixinTest.test_decider/original