Module Expr Str ImportFrom alias ImportFrom alias alias ImportFrom alias alias alias alias ImportFrom alias Expr Call NameLoad Str ImportFrom alias Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str Assign NameStore Dict Str Str Str Str NameLoad Dict NameLoad Str Assign NameStore Call NameLoad keyword ListLoad NameLoad ListLoad Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call NameLoad keyword ListLoad Dict NameLoad Dict Dict NameLoad Dict Dict Dict With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str Str Str Str NameLoad NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str NameLoad body Expr Call AttributeLoad NameLoad attr Dict Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str Assign NameStore Dict Str Str Str Str NameLoad Dict NameLoad Str Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call NameLoad keyword ListLoad Dict NameLoad Dict Dict With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str Str NameLoad NameLoad body With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str NameLoad body Assign NameStore Str Expr Call AttributeLoad NameLoad attr Dict Str Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list Call NameLoad NameLoad NameLoad If CompareEq NameLoad Str body ImportFrom alias Expr Call NameLoad NameLoad keyword NameLoad
N/A N/A 
    :codeauthor: :email:`Jayesh Kariya <jayeshk@saltstack.com>`
 __future__ absolute_import salttesting skipIf TestCase salttesting.mock NO_MOCK NO_MOCK_REASON MagicMock patch salttesting.helpers ensure_in_syspath N/A N/A ensure_in_syspath ../../ salt.states schedule N/A N/A schedule __opts__ N/A N/A N/A schedule __salt__ N/A ScheduleTestCase N/A TestCase N/A N/A 
    Test cases for salt.states.schedule
     test_present N/A N/A self N/A N/A N/A 
        Test to ensure a job is present in the schedule.
         N/A name job1 N/A ret N/A name changes result comment name N/A False N/A mock_dict N/A MagicMock side_effect N/A ret N/A N/A mock_mod N/A MagicMock return_value ret N/A mock_lst N/A MagicMock side_effect N/A N/A name N/A N/A name N/A N/A N/A N/A N/A N/A patch dict N/A schedule __salt__ N/A schedule.list schedule.build_schedule_item schedule.modify schedule.add mock_lst mock_dict mock_mod mock_mod N/A N/A N/A N/A self assertDictEqual N/A N/A schedule present name ret N/A N/A N/A patch dict N/A schedule __opts__ N/A test False N/A N/A N/A N/A self assertDictEqual N/A N/A schedule present name ret N/A N/A N/A self assertDictEqual N/A N/A schedule present name ret N/A N/A N/A patch dict N/A schedule __opts__ N/A test True N/A N/A N/A N/A ret update N/A result True N/A N/A N/A self assertDictEqual N/A N/A schedule present name ret N/A test_absent N/A N/A self N/A N/A N/A 
        Test to ensure a job is absent from the schedule.
         N/A name job1 N/A ret N/A name changes result comment name N/A False N/A mock_mod N/A MagicMock return_value ret N/A mock_lst N/A MagicMock side_effect N/A N/A name N/A N/A N/A N/A N/A patch dict N/A schedule __salt__ N/A schedule.list schedule.delete mock_lst mock_mod N/A N/A N/A N/A patch dict N/A schedule __opts__ N/A test False N/A N/A N/A N/A self assertDictEqual N/A N/A schedule absent name ret N/A N/A N/A patch dict N/A schedule __opts__ N/A test True N/A N/A comt Job job1 not present in schedule N/A N/A N/A ret update N/A comment result comt True N/A N/A N/A self assertDictEqual N/A N/A schedule absent name ret N/A N/A N/A skipIf NO_MOCK NO_MOCK_REASON N/A N/A __name__ __main__ N/A integration run_tests N/A N/A run_tests ScheduleTestCase needs_daemon False