'Locale value is selected for upload modal.'

def test_modal_locale_selected(self):

    response = get(self.client, 'gallery.gallery', args=['image'], locale='fr')
    doc = pq(response.content)
    eq_('fr', doc('#gallery-upload-image    option[selected="selected"]').val())
