'`names` in {locale: name} format.'

def check_names(self, names):

    for (locale, localized_string) in names.iteritems():
        eq_(self.get_name(self.addon, locale).localized_string, localized_string)
