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 ClassDef bases NameLoad body Expr Str 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 ListLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str Str NameLoad 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 ListLoad 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 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 Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad ListLoad 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 ntp N/A N/A ntp __salt__ N/A N/A N/A ntp __opts__ N/A NtpTestCase N/A TestCase N/A N/A 
    Test cases for salt.states.ntp
     test_managed N/A N/A self N/A N/A N/A 
        Test to manage NTP servers.
         N/A name coffee-script N/A ret N/A name result comment changes name False N/A N/A mock_lst N/A MagicMock return_value N/A N/A N/A N/A patch dict N/A ntp __salt__ N/A ntp.get_servers ntp.set_servers mock_lst mock_lst N/A N/A comt NTP servers already configured as specified N/A N/A N/A ret update N/A comment result comt True N/A N/A N/A self assertDictEqual N/A N/A ntp managed name N/A ret N/A N/A N/A patch dict N/A ntp __opts__ N/A test True N/A N/A comt NTP servers will be updated to: coffee-script 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 ntp managed name N/A name ret N/A N/A N/A patch dict N/A ntp __opts__ N/A test False N/A N/A comt Failed to update NTP servers N/A N/A N/A ret update N/A comment result comt False N/A N/A N/A self assertDictEqual N/A N/A ntp managed name N/A 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 NtpTestCase needs_daemon False