def test_get_hosts_for_spec(self): """ Testing the minions just to pull things for a spec """ spec = "*" m = Minions(spec) minions = m.get_hosts_for_spec(spec) assert compare_arrays(minions, self.current_minions) == True
def test_get_hosts_for_spec(self): """ Testing the minions just to pull things for a spec """ spec = "*" m = Minions(spec) minions = m.get_hosts_for_spec(spec) assert compare_arrays(minions, self.current_minions) == True
def get_hosts_spec(spec): """ A simple call to Minions class to be able to use globbing in groups when querying ... """ from func.overlord.client import Minions m = Minions(spec) return m.get_hosts_for_spec(spec)