'Tests the to_locale function and the special case of Serbian Latin
(refs #12230 and r11299)'

def test_to_locale(self):

    self.assertEqual(to_locale('en-us'), 'en_US')
    self.assertEqual(to_locale('sr-lat'), 'sr_Lat')
