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 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 Str Dict Assign NameStore Call NameLoad keyword NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str NameLoad body Assign NameStore Call AttributeLoad Str attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Dict Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad 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 eselect N/A N/A eselect __salt__ N/A EselectTestCase N/A TestCase N/A N/A 
    Test cases for salt.states.eselect
     test_set_ N/A N/A self N/A N/A N/A 
        Test to verify that the given module is set to the given target
         N/A name myeselect N/A target hardened/linux/amd64 N/A ret N/A name result comment changes name True N/A N/A mock N/A MagicMock return_value target N/A N/A N/A patch dict N/A eselect __salt__ N/A eselect.get_current_target mock N/A N/A comt N/A N/A Target '{0}' is already set on '{1}' module. format target name N/A N/A N/A ret update N/A comment comt N/A N/A N/A self assertDictEqual N/A N/A eselect set_ name target 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 EselectTestCase needs_daemon False