def METHOD_NAME(self):
    """Locale value is selected for upload modal."""
    response = get(self.client, "gallery.gallery", args=["image"], locale="fr")
    doc = pq(response.content)
    self.assertEqual("fr", doc('#gallery-upload-image option[selected="selected"]').val())