def test_hosts_decorator_by_itself():
    host_list = ['a', 'b']

    @hosts(*host_list)
    def command():
        pass

    eq_hosts(command, host_list)
Use of @hosts only
dataset/ETHPy150Open fabric/fabric/tests/test_main.py/test_hosts_decorator_by_itself