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

def testL10NDeactivated(self):

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