Module ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias alias Expr Call NameLoad Str Assign AttributeStore NameLoad attr Dict ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str NameLoad body Expr Call AttributeLoad NameLoad attr Str Str Str Expr Call AttributeLoad NameLoad attr Str keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str NameLoad body Expr Call AttributeLoad NameLoad attr Str Str Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str NameLoad body Expr Call AttributeLoad NameLoad attr Str Str NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str NameLoad body Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str NameLoad body Expr Call AttributeLoad NameLoad attr Str Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str decorator_list decorator_list If CompareEq NameLoad Str body ImportFrom alias Expr Call NameLoad NameLoad keyword NameLoad
N/A __future__ absolute_import salt.modules mac_defaults macdefaults salttesting TestCase salttesting.helpers ensure_in_syspath salttesting.mock MagicMock patch N/A N/A ensure_in_syspath ../../ N/A N/A macdefaults __salt__ N/A MacDefaultsTestCase N/A TestCase N/A test_write_default N/A N/A self N/A N/A N/A 
            Test writing a default setting
         N/A mock N/A MagicMock N/A N/A N/A patch dict N/A macdefaults __salt__ N/A cmd.run_all mock N/A N/A N/A N/A macdefaults write com.apple.CrashReporter DialogType Server N/A N/A N/A mock assert_called_once_with defaults write "com.apple.CrashReporter" "DialogType" -string "Server" runas None N/A test_write_with_user N/A N/A self N/A N/A N/A 
            Test writing a default setting with a specific user
         N/A mock N/A MagicMock N/A N/A N/A patch dict N/A macdefaults __salt__ N/A cmd.run_all mock N/A N/A N/A N/A macdefaults write com.apple.CrashReporter DialogType Server user frank N/A N/A N/A mock assert_called_once_with defaults write "com.apple.CrashReporter" "DialogType" -string "Server" runas frank N/A test_write_default_boolean N/A N/A self N/A N/A N/A 
            Test writing a default setting
         N/A mock N/A MagicMock N/A N/A N/A patch dict N/A macdefaults __salt__ N/A cmd.run_all mock N/A N/A N/A N/A macdefaults write com.apple.CrashReporter Crash True type boolean N/A N/A N/A mock assert_called_once_with defaults write "com.apple.CrashReporter" "Crash" -boolean "TRUE" runas None N/A test_read_default N/A N/A self N/A N/A N/A 
            Test reading a default setting
         N/A mock N/A MagicMock N/A N/A N/A patch dict N/A macdefaults __salt__ N/A cmd.run mock N/A N/A N/A N/A macdefaults read com.apple.CrashReporter Crash N/A N/A N/A mock assert_called_once_with defaults read "com.apple.CrashReporter" "Crash" runas None N/A test_read_default_with_user N/A N/A self N/A N/A N/A 
            Test reading a default setting as a specific user
         N/A mock N/A MagicMock N/A N/A N/A patch dict N/A macdefaults __salt__ N/A cmd.run mock N/A N/A N/A N/A macdefaults read com.apple.CrashReporter Crash user frank N/A N/A N/A mock assert_called_once_with defaults read "com.apple.CrashReporter" "Crash" runas frank N/A N/A N/A N/A __name__ __main__ N/A integration run_tests N/A N/A run_tests MacDefaultsTestCase needs_daemon False