def run_save_translation_identical(self, source_string, input_string, expected_string):
        path, resource = self.parse_string(input_string, source_string=source_string)

        translation = match_attr(resource.translations, key='String')
        translation.strings = {None: 'Source String'}
        resource.save(self.locale)

        self.assert_file_content(path, expected_string)
Check that form subclasses BaseModelForm.
dataset/ETHPy150Open mozilla/pontoon/pontoon/sync/tests/formats/__init__.py/FormatTestsMixin.run_save_translation_identical--crossover with--dataset/ETHPy150Open django/django/django/contrib/admin/checks.py/BaseModelAdminChecks._check_form