def test_empty_get(self):
     """ Check that you get an empty array when you try to get an empty group
     """
     host_group_type = HostGroupType.create(self.profiler, "TestType4057")
     new_host_group = HostGroup(host_group_type, "EmptyGroup")
     self.assertEqual(new_host_group.get(), [])
Ejemplo n.º 2
0
 def test_empty_get(self):
     """ Check that you get an empty array when you try to get an empty group
     """
     host_group_type = HostGroupType.create(self.profiler, "TestType4057")
     new_host_group = HostGroup(host_group_type, "EmptyGroup")
     self.assertEqual(new_host_group.get(), [])