def test_roles_decorator_expands_single_iterable():
    role_list = ['foo', 'bar']

    @roles(role_list)
    def command():
        pass

    eq_(command.roles, role_list)


#
# Host exclusion
#
Helper function for outputting HTML. Used by as_table(), as_ul(), as_p().
dataset/ETHPy150Open fabric/fabric/tests/test_main.py/test_roles_decorator_expands_single_iterable--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-0.96/django/newforms/forms.py/BaseForm._html_output