Module Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad For NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str body If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str ListLoad Dict Str Str Str NameLoad NameLoad keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str ListLoad Dict Str Str Str Dict Str Str Str Str Dict Str Str Dict Str Str Str NameLoad NameLoad keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice Num ListLoad Str Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str body Return Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad ListComp TupleLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str comprehension NameStore SubscriptLoad NameLoad Index Str If CompareIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore NameLoad If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpMod Str NameLoad Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad orelse If CompareIn NameLoad AttributeLoad NameLoad attr body Pass decorator_list decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list
N/A N/A glob N/A mock N/A os N/A shutil N/A unittest N/A zipfile cStringIO StringIO simple_idml.indesign indesign suds.client ServiceSelector urllib2 OpenerDirector N/A CURRENT_DIR N/A N/A N/A os path dirname __file__ N/A IDMLFILES_DIR N/A N/A N/A os path join CURRENT_DIR IDML N/A SOAP_DIR N/A N/A N/A os path join CURRENT_DIR SOAP N/A CLIENT_WORKDIR N/A N/A N/A os path join CURRENT_DIR workdir N/A SERVER_WORKDIR N/A N/A N/A os path join CURRENT_DIR workdir InDesignTestCase N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super InDesignTestCase self setUp N/A N/A self u2open_patcher N/A N/A mock patch urllib2.OpenerDirector N/A N/A self u2open_mock N/A N/A N/A self u2open_patcher start N/A N/A N/A self u2open_mock side_effect OpenerDirectorMock N/A N/A self runscript_patcher N/A N/A mock patch suds.client.ServiceSelector N/A N/A self runscript_mock N/A N/A N/A self runscript_patcher start N/A N/A N/A self runscript_mock side_effect ServiceSelectorMock N/A f N/A N/A glob glob N/A N/A N/A os path join CLIENT_WORKDIR * N/A N/A N/A N/A N/A os path isdir f N/A N/A N/A N/A shutil rmtree f N/A N/A N/A N/A os unlink f N/A N/A N/A N/A N/A os path exists CLIENT_WORKDIR N/A N/A N/A N/A os makedirs CLIENT_WORKDIR N/A tearDown N/A N/A self N/A N/A N/A N/A N/A N/A self u2open_patcher stop N/A N/A N/A N/A self runscript_patcher stop N/A test_save_as N/A N/A self N/A N/A N/A responses N/A N/A indesign save_as N/A N/A N/A os path join IDMLFILES_DIR 4-pages.idml N/A N/A fmt indd http://url-to-indesign-server:8080 CLIENT_WORKDIR SERVER_WORKDIR indesign_server_path_style posix N/A N/A N/A self assertTrue N/A N/A self runscript_mock called N/A N/A N/A self assertEqual responses N/A save_as.jsx, 4-pagesTMP.indd, {} N/A responses N/A N/A indesign save_as N/A N/A N/A os path join IDMLFILES_DIR 4-pages.idml N/A N/A fmt params pdf N/A colorSpace standartsCompliance CMYK 1A2003 N/A fmt jpeg N/A fmt zip http://url-to-indesign-server:8080 CLIENT_WORKDIR SERVER_WORKDIR indesign_server_path_style posix N/A N/A N/A self assertTrue N/A N/A self runscript_mock called N/A N/A N/A self assertEqual N/A responses N/A 2 N/A export.jsx, 4-pagesTMP.pdf, {'colorSpace': 'CMYK', 'standartsCompliance': '1A2003', 'format': 'pdf'} export.jsx, 4-pagesTMP.jpeg, {'format': 'jpeg'} N/A zip_buf N/A StringIO N/A N/A N/A zip_buf write N/A responses N/A 2 N/A N/A N/A self assertTrue N/A N/A zipfile is_zipfile zip_buf N/A test_close_all_documents N/A N/A self N/A N/A N/A N/A N/A indesign close_all_documents http://url-to-indesign-server:8080 CLIENT_WORKDIR SERVER_WORKDIR indesign_server_path_style posix N/A N/A N/A self assertTrue N/A N/A self runscript_mock called N/A N/A N/A indesign close_all_documents http://url-to-indesign-server:8080 CLIENT_WORKDIR SERVER_WORKDIR indesign_server_path_style windows N/A N/A N/A self assertTrue N/A N/A self runscript_mock called N/A N/A OpenerDirectorMock N/A OpenerDirector N/A open N/A N/A self fullurl data timeout N/A None None None N/A N/A url N/A N/A fullurl get_full_url N/A N/A N/A N/A N/A os path basename url service?wsdl N/A N/A N/A open N/A N/A N/A os path join SOAP_DIR indesign-service.xml r N/A N/A ServiceSelectorMock N/A ServiceSelector N/A RunScript N/A N/A self params N/A N/A N/A script N/A N/A N/A os path basename N/A params N/A scriptFile N/A script_args N/A dict N/A N/A N/A p N/A name N/A p N/A value N/A p N/A params N/A scriptArgs N/A N/A script N/A indesign JS_SAVE_AS_SCRIPTS N/A N/A N/A N/A script_args pop source N/A dst_filename N/A N/A script_args pop destination N/A extra_params script_args N/A N/A script N/A indesign JS_PACKAGE_SCRIPT N/A N/A N/A N/A os mkdir dst_filename N/A dst_filename N/A %s.zip dst_filename N/A fobj N/A open dst_filename w+ N/A N/A N/A fobj write N/A %s, %s, %s N/A script N/A N/A N/A os path basename dst_filename extra_params N/A N/A N/A script N/A indesign JS_CLOSE_ALL_SCRIPT N/A N/A N/A N/A suite N/A N/A N/A N/A N/A suite N/A N/A N/A N/A unittest TestLoader loadTestsFromTestCase InDesignTestCase N/A suite N/A