Module Expr Str ImportFrom alias Import alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias alias alias Expr Call NameLoad Str Assign AttributeStore NameLoad attr Dict ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict Str Str Str Str Dict Str Str NameLoad Assign NameStore Call NameLoad keyword NameLoad With Call AttributeLoad NameLoad attr NameLoad Str NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad keyword ListLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str NameLoad body Assign NameStore Call NameLoad keyword NameLoad With Call AttributeLoad NameLoad attr NameLoad Str NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str keyword Str With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str NameLoad body Assign NameStore Call NameLoad keyword NameLoad With Call AttributeLoad NameLoad attr NameLoad Str NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str keyword Str With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str NameLoad body Assign NameStore Call NameLoad keyword NameLoad With Call AttributeLoad NameLoad attr NameLoad Str NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str keyword Str 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:`Rahul Handay <rahulha@saltstack.com>`
 __future__ absolute_import N/A os salt.states hg salttesting skipIf TestCase salttesting.helpers ensure_in_syspath salttesting.mock NO_MOCK NO_MOCK_REASON MagicMock patch N/A N/A ensure_in_syspath ../../ N/A N/A hg __opts__ N/A HgTestCase N/A TestCase N/A N/A 
        Validate the svn state
     test_latest N/A N/A self N/A N/A N/A 
            Test to Make sure the repository is cloned to
            the given directory and is up to date
         N/A ret N/A changes comment name result N/A salt True N/A mock N/A MagicMock return_value True N/A N/A N/A patch object hg _fail mock N/A N/A N/A N/A self assertTrue N/A N/A hg latest salt N/A mock N/A MagicMock side_effect N/A False True False False False False N/A N/A N/A patch object N/A os path isdir mock N/A N/A mock N/A MagicMock return_value True N/A N/A N/A patch object hg _handle_existing mock N/A N/A N/A N/A self assertTrue N/A N/A hg latest salt target c:\salt N/A N/A N/A patch dict N/A hg __opts__ N/A test True N/A N/A mock N/A MagicMock return_value True N/A N/A N/A patch object hg _neutral_test mock N/A N/A N/A N/A self assertTrue N/A N/A hg latest salt target c:\salt N/A N/A N/A patch dict N/A hg __opts__ N/A test False N/A N/A mock N/A MagicMock return_value True N/A N/A N/A patch object hg _clone_repo mock N/A N/A N/A N/A self assertDictEqual N/A N/A hg latest salt target c:\salt 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 HgTestCase needs_daemon False