def METHOD_NAME(self):
    if self.hosts_obfuscated:
        imode_orig = stat('/etc/hosts').st_mode
        imode_obfuscated = stat(self.get_name_in_archive('etc/hosts')).st_mode
        self.assertEqual(imode_orig, imode_obfuscated)