human
I wrote the below code

    @task
    @hosts('bar')
    def command():
        pass
    eq_hosts(command, ['bar'], env={'hosts': ['foo']})

What's a good function header?
assistant
#Here's a good function header.

def test_hosts_decorator_overrides_env_hosts_with_task_decorator_first():