Module Import alias Import alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad Str With Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad NameStore body Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list Call AttributeLoad NameLoad attr Str keyword NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Dict keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad Str Str With Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad NameStore body Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str Str Str Assign NameStore ListLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list Call AttributeLoad NameLoad attr Str keyword NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr ListLoad ListLoad TupleLoad Str ListLoad ListLoad Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str keyword Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str decorator_list
N/A N/A os N/A mock rally.common fileutils tests.unit test FileUtilsTestCase N/A N/A test TestCase N/A test_load_env_vile N/A N/A self mock_exists N/A N/A N/A file_data N/A FAKE_ENV=fake_env
 N/A N/A N/A mock patch rally.common.fileutils.open N/A N/A mock mock_open read_data file_data create True mock_file N/A N/A N/A N/A N/A mock_file return_value readlines return_value file_data N/A N/A N/A fileutils load_env_file path_to_file N/A N/A N/A self assertIn FAKE_ENV N/A os environ N/A N/A N/A N/A N/A mock_file return_value readlines assert_called_once_with N/A N/A N/A mock patch os.path.exists return_value True N/A N/A N/A mock patch dict os.environ values N/A clear True test_update_env_file N/A N/A self mock_exists N/A N/A N/A file_data N/A FAKE_ENV=old_value
 FAKE_ENV2=any
 N/A N/A N/A mock patch rally.common.fileutils.open N/A N/A mock mock_open read_data file_data create True mock_file N/A N/A N/A N/A N/A mock_file return_value readlines return_value file_data N/A N/A N/A fileutils update_env_file path_to_file FAKE_ENV new_value N/A calls N/A N/A N/A mock call FAKE_ENV2=any
 N/A N/A mock call FAKE_ENV=new_value N/A N/A N/A N/A N/A mock_file return_value readlines assert_called_once_with N/A N/A N/A N/A N/A mock_file return_value write assert_has_calls calls N/A N/A N/A mock patch os.path.exists return_value True N/A PackDirTestCase N/A N/A test TestCase N/A test_pack_dir N/A N/A self mock_zip_file mock_walk N/A N/A N/A N/A mock_walk side_effect N/A N/A N/A foo_root N/A N/A file1 file2 file3 N/A N/A N/A fileutils pack_dir rally-jobs/extra/murano/HelloReporter fake_dir/package.zip N/A N/A N/A mock_zip_file assert_called_once_with fake_dir/package.zip mode w N/A N/A N/A mock_walk assert_called_once_with rally-jobs/extra/murano/HelloReporter N/A N/A N/A N/A mock_zip_file return_value assert_has_calls N/A N/A N/A N/A mock call write foo_root/file1 ../../../../foo_root/file1 N/A N/A N/A mock call write foo_root/file2 ../../../../foo_root/file2 N/A N/A N/A mock call write foo_root/file3 ../../../../foo_root/file3 N/A N/A N/A mock call close N/A N/A N/A mock patch os.walk N/A N/A mock patch zipfile.ZipFile N/A