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 Str NameLoad ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str Assign NameStore Call NameLoad keyword ListLoad NameLoad NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str Assign NameStore Dict Str Str Str Str NameLoad NameLoad Str Dict Assign NameStore Call NameLoad keyword Call NameLoad Str With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Dict Str Str Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call NameLoad Str Call NameLoad keyword Str 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 portage_config N/A N/A portage_config __salt__ N/A N/A N/A portage_config __opts__ N/A test True PortageConfigTestCase N/A TestCase N/A N/A 
    Test cases for salt.states.portage_config
     test_mod_init N/A N/A self N/A N/A N/A 
        Test to enforce a nice structure on the configuration files.
         N/A name salt N/A mock N/A MagicMock side_effect N/A True Exception N/A N/A N/A patch dict N/A portage_config __salt__ N/A portage_config.enforce_nice_config mock N/A N/A N/A N/A self assertTrue N/A N/A portage_config mod_init name N/A N/A N/A self assertFalse N/A N/A portage_config mod_init name N/A test_flags N/A N/A self N/A N/A N/A 
        Test to enforce the given flags on the given package or ``DEPEND`` atom.
         N/A name salt N/A ret N/A name result comment changes name False SALTSTACK N/A N/A mock N/A MagicMock side_effect N/A Exception error N/A N/A N/A patch dict N/A portage_config __salt__ N/A portage_config.get_missing_flags mock N/A N/A N/A N/A self assertDictEqual N/A N/A portage_config flags name use openssl ret N/A N/A N/A self assertDictEqual N/A N/A portage_config flags name accept_keywords True ret N/A N/A N/A self assertDictEqual N/A N/A portage_config flags name env True ret N/A N/A N/A self assertDictEqual N/A N/A portage_config flags name license True ret N/A N/A N/A self assertDictEqual N/A N/A portage_config flags name properties True ret N/A N/A N/A self assertDictEqual N/A N/A portage_config flags name mask True ret N/A N/A N/A self assertDictEqual N/A N/A portage_config flags name unmask True ret N/A N/A N/A ret update N/A comment result True N/A N/A N/A self assertDictEqual N/A N/A portage_config flags name ret N/A N/A patch traceback.format_exc N/A MagicMock return_value SALTSTACK 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 PortageConfigTestCase needs_daemon False