'Check if sublocales fall back to the main locale'

def test_sub_locales(self):

    with self.settings(USE_THOUSAND_SEPARATOR=True):
        with translation.override(u'de-at', deactivate=True):
            self.assertEqual(u'66.666,666', Template(u'{{    n    }}').render(self.ctxt))
        with translation.override(u'es-us', deactivate=True):
            self.assertEqual(u'31    de    Diciembre    de    2009', date_format(self.d))
