Skip to content

Commit

Permalink
Fix: test services after hostgroup and service group configuration pa…
Browse files Browse the repository at this point in the history
…ck fix
  • Loading branch information
naparuba committed Jan 8, 2015
1 parent c27a6c8 commit 280fa1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_services.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def test_servicegroup(self):
self.assertIsNot(sg, None)
svc = self.sched.services.find_srv_by_name_and_hostname("test_host_0", "test_ok_0")
self.assertIn(svc, sg.members)
self.assertIn(sg, svc.servicegroups)
self.assertIn(sg.get_name(), [sg.get_name() for sg in svc.servicegroups])

# Look at the good of the last_hard_state_change
def test_service_last_hard_state(self):
Expand Down

0 comments on commit 280fa1d

Please sign in to comment.