def test_hosts_and_roles_together():
    @roles('r1', 'r2')
    @hosts('d')
    def command():
        pass
    eq_hosts(command, ['a', 'b', 'c', 'd'], env={'roledefs': fake_roles})
    eq_effective_roles(command, ['r1', 'r2'], env={'roledefs': fake_roles})
Sets an override node for this node in this context.
dataset/ETHPy150Open fabric/fabric/tests/test_main.py/test_hosts_and_roles_together--crossover with--dataset/ETHPy150Open manahl/mdf/mdf/nodes.py/MDFNode.set_override