예제 #1
0
 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')
예제 #2
0
 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')
예제 #3
0
 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")