def test_extra_locales(self):
        update_translated_resources(self.db_project, self.vcs_project,
                             self.changeset, self.translated_locale)

        assert_true(TranslatedResource.objects.filter(
            resource=self.main_db_resource, locale=self.translated_locale
        ).exists())

        assert_true(TranslatedResource.objects.filter(
            resource=self.other_db_resource, locale=self.translated_locale
        ).exists())

        assert_false(TranslatedResource.objects.filter(
            resource=self.main_db_resource, locale=self.inactive_locale
        ).exists())

        assert_false(TranslatedResource.objects.filter(
            resource=self.other_db_resource, locale=self.inactive_locale
        ).exists())
Check that complex objects don't need to be completely aligned
dataset/ETHPy150Open mozilla/pontoon/pontoon/sync/tests/test_core.py/UpdateTranslatedResourcesTests.test_extra_locales--crossover with--dataset/ETHPy150Open scipy/scipy/scipy/linalg/tests/test_decomp.py/test_aligned_mem_complex