def test_hosts_in_role_dict():
    @roles('r1')
    def command():
        pass
    eq_hosts(command, ['a', 'b'], env={'roledefs': dict_roles})
add global attribute to an initialized file
dataset/ETHPy150Open fabric/fabric/tests/test_main.py/test_hosts_in_role_dict--crossover with--dataset/ETHPy150Open modflowpy/flopy/flopy/export/netcdf.py/NetCdf.add_global_attributes