Module Expr Str ImportFrom alias ImportFrom alias alias ImportFrom alias alias alias alias ImportFrom 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 Str Assign NameStore Dict Str Str Str Str NameLoad NameLoad Dict Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad keyword ListLoad NameLoad NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str NameLoad body Assign NameStore Str Expr Call AttributeLoad NameLoad attr Dict Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad 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 NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str Assign NameStore Dict Str Str Str Str NameLoad NameLoad Dict Str Assign NameStore Call NameLoad keyword ListLoad NameLoad NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str NameLoad body Assign NameStore Str Expr Call AttributeLoad NameLoad attr Dict Str NameLoad 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 salt.exceptions SaltInvocationError N/A N/A ensure_in_syspath ../../ salt.states boto_lc N/A N/A boto_lc __salt__ N/A N/A N/A boto_lc __opts__ N/A BotoLcTestCase N/A TestCase N/A N/A 
    Test cases for salt.states.boto_lc
     test_present N/A N/A self N/A N/A N/A 
        Test to ensure the launch configuration exists.
         N/A name mylc N/A image_id ami-0b9c9f62 N/A ret N/A name result changes comment name True N/A N/A N/A N/A self assertRaises SaltInvocationError N/A boto_lc present name image_id user_data True cloud_init True N/A mock N/A MagicMock side_effect N/A True False N/A N/A N/A patch dict N/A boto_lc __salt__ N/A boto_asg.launch_configuration_exists mock N/A N/A comt Launch configuration present. N/A N/A N/A ret update N/A comment comt N/A N/A N/A self assertDictEqual N/A N/A boto_lc present name image_id ret N/A N/A N/A patch dict N/A boto_lc __opts__ N/A test True N/A N/A comt Launch configuration set to be created. N/A N/A N/A ret update N/A comment result comt None N/A N/A N/A self assertDictEqual N/A N/A boto_lc present name image_id ret N/A test_absent N/A N/A self N/A N/A N/A 
        Test to ensure the named launch configuration is deleted.
         N/A name mylc N/A ret N/A name result changes comment name True N/A N/A mock N/A MagicMock side_effect N/A False True N/A N/A N/A patch dict N/A boto_lc __salt__ N/A boto_asg.launch_configuration_exists mock N/A N/A comt Launch configuration does not exist. N/A N/A N/A ret update N/A comment comt N/A N/A N/A self assertDictEqual N/A N/A boto_lc absent name ret N/A N/A N/A patch dict N/A boto_lc __opts__ N/A test True N/A N/A comt Launch configuration set to be deleted. N/A N/A N/A ret update N/A comment result comt None N/A N/A N/A self assertDictEqual N/A N/A boto_lc 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 BotoLcTestCase needs_daemon False