Module Expr Str ImportFrom alias Import alias ImportFrom alias ImportFrom alias alias alias Expr Call NameLoad Str Import alias Assign NameStore Str ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str ListLoad Str If CompareNotIn SubscriptLoad NameLoad Index Str Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr Str ListLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str ListLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str ListLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str ListLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str ListLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str ListLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str ListLoad NameLoad decorator_list NameLoad decorator_list NameLoad Call NameLoad CompareNotEq Call AttributeLoad NameLoad attr Num Str If CompareEq NameLoad Str body ImportFrom alias Expr Call NameLoad NameLoad
N/A N/A 
    :codeauthor: :email:`Nicole Thomas <nicole@saltstack.com>`
 __future__ absolute_import N/A os salttesting skipIf salttesting.helpers destructiveTest ensure_in_syspath requires_system_grains N/A N/A ensure_in_syspath ../../ N/A integration N/A OSA_SCRIPT /usr/bin/osascript MacAssistiveTest N/A N/A integration ModuleCase N/A N/A 
    Integration tests for the mac_assistive module.
     setUp N/A N/A self N/A N/A N/A 
        Sets up test requirements
         N/A os_grain N/A N/A self run_function grains.item N/A kernel N/A N/A N/A os_grain N/A kernel Darwin N/A N/A N/A N/A self skipTest N/A N/A Test not applicable to '{kernel}' kernel format os_grain N/A N/A N/A self run_function assistive.install N/A OSA_SCRIPT True N/A tearDown N/A N/A self N/A N/A N/A 
        Clean up after tests
         N/A osa_script N/A N/A self run_function assistive.installed OSA_SCRIPT N/A osa_script N/A N/A N/A N/A self run_function assistive.remove OSA_SCRIPT N/A smile_bundle com.smileonmymac.textexpander N/A smile_bundle_present N/A N/A self run_function assistive.installed smile_bundle N/A smile_bundle_present N/A N/A N/A N/A self run_function assistive.remove smile_bundle N/A test_install_and_remove N/A N/A self grains N/A None N/A N/A 
        Tests installing and removing a bundled ID or command to use assistive access.
         N/A new_bundle com.smileonmymac.textexpander N/A N/A N/A self assertTrue N/A N/A self run_function assistive.install new_bundle N/A N/A N/A self assertTrue N/A N/A self run_function assistive.remove new_bundle N/A requires_system_grains test_installed N/A N/A self grains N/A None N/A N/A 
        Tests the True and False return of assistive.installed.
         N/A N/A N/A self assertTrue N/A N/A self run_function assistive.installed OSA_SCRIPT N/A N/A N/A self run_function assistive.remove N/A OSA_SCRIPT N/A N/A N/A self assertFalse N/A N/A self run_function assistive.installed N/A OSA_SCRIPT N/A requires_system_grains test_enable N/A N/A self grains N/A None N/A N/A 
        Tests setting the enabled status of a bundled ID or command.
         N/A N/A N/A self assertTrue N/A N/A self run_function assistive.enable N/A OSA_SCRIPT False N/A N/A N/A self assertFalse N/A N/A self run_function assistive.enabled N/A OSA_SCRIPT N/A N/A N/A self assertTrue N/A N/A self run_function assistive.enable OSA_SCRIPT N/A N/A N/A self assertTrue N/A N/A self run_function assistive.enabled OSA_SCRIPT N/A requires_system_grains test_enabled N/A N/A self grains N/A None N/A N/A 
        Tests if a bundled ID or command is listed in assistive access returns True.
         N/A N/A N/A self assertTrue N/A N/A self run_function assistive.enabled OSA_SCRIPT N/A N/A N/A self run_function assistive.enable N/A OSA_SCRIPT False N/A N/A N/A self assertFalse N/A N/A self run_function assistive.enabled N/A OSA_SCRIPT N/A requires_system_grains N/A destructiveTest N/A skipIf N/A N/A N/A os geteuid 0 You must be logged in as root to run this test N/A N/A __name__ __main__ N/A integration run_tests N/A N/A run_tests MacAssistiveTest