'gen_filenames() also yields from locale dirs in installed apps.'

@override_settings(INSTALLED_APPS=['django.contrib.admin'])
def test_app_locales(self):

    admin_dir = os.path.join(os.path.dirname(admin.__file__), 'locale')
    admin_mo = os.path.join(admin_dir, 'nl', 'LC_MESSAGES', 'django.mo')
    self.assertFileFound(admin_mo)
