'Vertical align valid options.'

def test_image_params_valign(self):

    valign_vals = ('baseline', 'sub', 'super', 'top', 'text-top', 'middle', 'bottom', 'text-bottom')
    for valign in valign_vals:
        (_, params) = build_hook_params_default(('title|valign=' + valign))
        eq_(valign, params['valign'])
