def test_list_schedules(self): ''' Test for List schedules belonging to this account ''' with patch.object(salt.utils.pagerduty, 'list_items', return_value='A'): self.assertEqual(pagerduty.list_schedules(), 'A')
def test_list_schedules(self): """ Test for List schedules belonging to this account """ with patch.object(salt.utils.pagerduty, "list_items", return_value="A"): self.assertEqual(pagerduty.list_schedules(), "A")