Module Import alias Import alias ImportFrom alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpMod Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpMod Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpMod Str NameLoad Assign NameStore BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad Assign NameStore ListLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad For TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Num For NameStore NameLoad body Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad Call AttributeLoad NameLoad attr Str Str Num NameLoad For TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Num For NameStore NameLoad body Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad Call AttributeLoad NameLoad attr Str Str Num NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpMod Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad Assign NameStore ListLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad For TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Num For NameStore NameLoad body Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad Call AttributeLoad NameLoad attr Str Str Num NameLoad For TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Num For NameStore NameLoad body Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad Call AttributeLoad NameLoad attr Str Str Num NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list
N/A N/A os N/A shutil minicluster_testbase MiniClusterTestBase N/A TESTFILES_PATH N/A N/A N/A os path join N/A N/A N/A os path dirname N/A N/A N/A os path abspath __file__ testfiles/temp_testfiles CopyToLocalTest N/A MiniClusterTestBase N/A tearDown N/A N/A self N/A N/A N/A N/A N/A shutil rmtree TESTFILES_PATH N/A test_copyToLocal_file_content N/A N/A self N/A N/A N/A N/A N/A os mkdir TESTFILES_PATH N/A target_dir N/A %s/file1 TESTFILES_PATH N/A expected_content N/A N/A N/A self cluster cat /test3 N/A result N/A N/A N/A self client copyToLocal N/A /test3 target_dir N/A N/A N/A N/A self assertEqual N/A result N/A path target_dir N/A client_content N/A N/A self _read_file target_dir N/A N/A N/A self assertEqual client_content expected_content N/A N/A N/A self assertEqual N/A result N/A result True N/A test_copyToLocal_conflicting_names N/A N/A self N/A N/A N/A N/A N/A os mkdir TESTFILES_PATH N/A target_dir N/A %s/file2 TESTFILES_PATH N/A N/A N/A N/A self cluster copyToLocal /test3 target_dir N/A result N/A N/A N/A self client copyToLocal N/A /test3 target_dir N/A N/A N/A N/A self assertEqual N/A result N/A error file exists N/A N/A N/A self assertEqual N/A result N/A path target_dir N/A N/A N/A self assertEqual N/A result N/A result False N/A test_copyToLocal_directory_structure N/A N/A self N/A N/A N/A test_dir N/A %s/actual TESTFILES_PATH N/A expected_dir N/A %s/expected TESTFILES_PATH N/A N/A N/A os mkdir TESTFILES_PATH N/A N/A N/A os mkdir expected_dir N/A N/A N/A os mkdir test_dir N/A expected_dir_structure N/A N/A test_dir_structure N/A N/A N/A N/A N/A self cluster copyToLocal /bar expected_dir N/A result N/A N/A N/A self client copyToLocal N/A /bar test_dir N/A N/A N/A N/A self assertEqual N/A result N/A result True N/A N/A path dirs files N/A N/A os walk expected_dir N/A N/A N/A N/A expected_dir_structure append N/A N/A path replace /expected 1 N/A f files N/A N/A f N/A %s/%s N/A path f N/A data N/A N/A self _read_file f N/A N/A N/A expected_dir_structure append N/A N/A N/A f replace /expected 1 data N/A N/A path dirs files N/A N/A os walk test_dir N/A N/A N/A N/A test_dir_structure append N/A N/A path replace /actual 1 N/A f files N/A N/A f N/A %s/%s N/A path f N/A data N/A N/A self _read_file f N/A N/A N/A test_dir_structure append N/A N/A N/A f replace /actual 1 data N/A N/A N/A self assertEqual expected_dir_structure test_dir_structure N/A test_copyToLocal_relative_directory_structure N/A N/A self N/A N/A N/A test_dir N/A %s/relative_actual TESTFILES_PATH N/A test_dir N/A N/A N/A os path relpath test_dir N/A expected_dir N/A %s/relative_expected TESTFILES_PATH N/A N/A N/A os mkdir TESTFILES_PATH N/A N/A N/A os mkdir expected_dir N/A N/A N/A os mkdir test_dir N/A expected_dir_structure N/A N/A test_dir_structure N/A N/A N/A N/A N/A self cluster copyToLocal /bar/baz expected_dir N/A result N/A N/A N/A self client copyToLocal N/A /bar/baz test_dir N/A N/A N/A N/A self assertEqual N/A result N/A result True N/A N/A path dirs files N/A N/A os walk expected_dir N/A N/A N/A N/A expected_dir_structure append N/A N/A path replace /relative_expected 1 N/A f files N/A N/A f N/A %s/%s N/A path f N/A data N/A N/A self _read_file f N/A N/A N/A expected_dir_structure append N/A N/A N/A f replace /relative_expected 1 data N/A N/A path dirs files N/A N/A os walk N/A N/A N/A os path abspath test_dir N/A N/A N/A N/A test_dir_structure append N/A N/A path replace /relative_actual 1 N/A f files N/A N/A f N/A %s/%s N/A path f N/A data N/A N/A self _read_file f N/A N/A N/A test_dir_structure append N/A N/A N/A f replace /relative_actual 1 data N/A N/A N/A self assertEqual expected_dir_structure test_dir_structure N/A _read_file N/A N/A self file N/A N/A N/A f N/A open file r N/A data N/A N/A f read N/A N/A N/A f close N/A data N/A N/A