'Check if L10N is deactivated, the JavaScript i18n view doesn\'t
return localized date/time formats. Refs #14824.'

def test_L10N_deactivated(self):

    with self.settings(LANGUAGE_CODE='ru', USE_L10N=False):
        with translation.override('none'):
            response = self.client.get(reverse('admin:jsi18n'))
            self.assertNotContains(response, '%d.%m.%Y    %H:%M:%S')
            self.assertContains(response, '%Y-%m-%d    %H:%M:%S')
