Module Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Str Str Str Str Str Str Str Dict Str NameLoad Str ListLoad Str Dict Str Str ListLoad Str Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign SubscriptStore AttributeLoad NameLoad attr Index Str ListLoad Str Str Str Str Str Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore ListLoad Call NameLoad ListLoad Str Str Str Str Str Str Str Str Call NameLoad ListLoad Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list Call NameLoad Str Call NameLoad Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assert UnaryOpNot AttributeLoad NameLoad attr Str decorator_list Call NameLoad Str Call NameLoad Str Call NameLoad Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Str Assign NameStore BinOpAdd Str NameLoad Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad NameLoad attr Str decorator_list Call NameLoad Str Call NameLoad Str Call NameLoad Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list Call NameLoad Str Call NameLoad Str Call NameLoad Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body TryFinally body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad name NameStore body If CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign NameStore Call AttributeLoad Call NameLoad Str attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameLoad Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad finalbody Expr Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str TryFinally body Expr Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad finalbody Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str TryFinally body Expr Call NameLoad NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad finalbody Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args NameParam defaults body ClassDef bases body FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list Return Call NameLoad decorator_list Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list Call NameLoad Str Call NameLoad Str Call NameLoad Str keyword Str Call NameLoad BinOpAdd Str Str Call NameLoad BinOpAdd Str Str Call NameLoad Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad TupleLoad Str Str Str TupleLoad Str Str Str TupleLoad Str NameLoad Str TupleLoad Str Str BinOpAdd Str Str TupleLoad Str NameLoad BinOpAdd BinOpAdd BinOpAdd Str Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list
N/A N/A os N/A errno N/A re distutils.dir_util remove_tree distutils.dir_util mkpath mock patch mock call tests.base_test_case BaseTestCase packaging.bdist_prestoadmin bdist_prestoadmin packaging package_dir packaging_dir distutils.dist Distribution TestBDistPrestoAdmin N/A BaseTestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super TestBDistPrestoAdmin self setUp N/A N/A self attrs N/A name cmdclass version packages package_dir install_requires prestoadmin N/A bdist_prestoadmin bdist_prestoadmin 1.2 N/A prestoadmin N/A prestoadmin prestoadmin N/A fabric N/A dist N/A Distribution attrs N/A self attrs N/A N/A self bdist N/A N/A dist get_command_obj bdist_prestoadmin N/A N/A N/A N/A self bdist finalize_options N/A test_initialize N/A N/A self N/A N/A N/A dist N/A Distribution attrs N/A self attrs N/A bdist N/A N/A dist get_command_obj bdist_prestoadmin N/A N/A N/A self assertEquals N/A bdist bdist_dir None N/A N/A N/A self assertEquals N/A bdist dist_dir None N/A N/A N/A self assertEquals N/A bdist virtualenv_version None N/A N/A N/A self assertEquals N/A bdist keep_temp False N/A N/A N/A self assertEquals N/A bdist online_install False N/A test_finalize N/A N/A self N/A N/A N/A N/A N/A self assertRegexpMatches N/A N/A self bdist bdist_dir build/bdist.*/prestoadmin N/A N/A N/A self assertEquals N/A N/A self bdist dist_dir dist N/A N/A N/A self assertEquals N/A N/A self bdist default_virtualenv_version 12.0.7 N/A N/A N/A self assertEquals N/A N/A self bdist keep_temp False N/A test_finalize_argvs N/A N/A self N/A N/A N/A N/A N/A self attrs N/A script_args N/A bdist_prestoadmin --bdist-dir=junk --dist-dir=tmp --virtualenv-version=12.0.1 -k N/A dist N/A Distribution attrs N/A self attrs N/A N/A N/A dist parse_command_line N/A bdist N/A N/A dist get_command_obj bdist_prestoadmin N/A N/A N/A bdist finalize_options N/A N/A N/A self assertEquals N/A bdist bdist_dir junk N/A N/A N/A self assertEquals N/A bdist dist_dir tmp N/A N/A N/A self assertEquals N/A bdist virtualenv_version 12.0.1 N/A N/A N/A self assertEquals N/A bdist keep_temp True N/A test_build_wheel N/A N/A self run_command_mock N/A N/A N/A N/A N/A self assertEquals prestoadmin-1.2-py2-none-any N/A N/A N/A self bdist build_wheel build N/A N/A patch distutils.core.Command.run_command test_package_dependencies_for_offline_installer N/A N/A self pip_mock urlretrieve_mock N/A N/A N/A build_path N/A N/A N/A os path join build prestoadmin N/A N/A N/A N/A self bdist package_dependencies build_path N/A calls N/A N/A call N/A wheel --wheel-dir=build/prestoadmin/third-party --no-cache fabric --extra-index-url http://bdch-ftp.td.teradata.com:8082 --trusted-host bdch-ftp.td.teradata.com N/A call N/A install -d build/prestoadmin/third-party --no-cache --no-use-wheel virtualenv==12.0.7 N/A N/A N/A pip_mock assert_has_calls calls any_order False N/A N/A patch packaging.bdist_prestoadmin.urllib.urlretrieve N/A patch packaging.bdist_prestoadmin.pip.main test_package_dependencies_for_online_installer N/A N/A self package_dependencies_mock build_wheel_mock generate_install_script_mock N/A N/A N/A N/A N/A self bdist online_install True N/A N/A N/A N/A self bdist run N/A N/A N/A package_dependencies_mock called method should not have been called N/A N/A patch packaging.bdist_prestoadmin.bdist_prestoadmin.generate_install_script N/A patch packaging.bdist_prestoadmin.bdist_prestoadmin.build_wheel N/A patch packaging.bdist_prestoadmin.bdist_prestoadmin.package_dependencies test_correct_use_of_precompiled_pycrypto N/A N/A self pip_mock urllib_mock sys_mock N/A N/A N/A build_path N/A N/A N/A os path join build prestoadmin N/A thirdparty_dir N/A N/A N/A os path join build_path third-party N/A pycrypto_whl pycrypto-2.6.1-{0}-none-linux_x86_64.whl N/A pypi_pycrypto_url N/A http://bdch-ftp.td.teradata.com:8082/packages/ pycrypto_whl N/A N/A sys_mock version 2.7 N/A N/A N/A N/A self bdist package_dependencies build_path N/A N/A N/A urllib_mock assert_called_with N/A N/A pypi_pycrypto_url format cp26 N/A N/A N/A os path join thirdparty_dir N/A N/A pycrypto_whl format cp26 N/A N/A sys_mock version 2.6 N/A N/A N/A N/A self bdist package_dependencies build_path N/A N/A N/A urllib_mock assert_called_with N/A N/A pypi_pycrypto_url format cp27 N/A N/A N/A os path join thirdparty_dir N/A N/A pycrypto_whl format cp27 N/A N/A patch packaging.bdist_prestoadmin.sys N/A patch packaging.bdist_prestoadmin.urllib.urlretrieve N/A patch packaging.bdist_prestoadmin.pip.main test_offline_installer_fails_when_not_on_td_network N/A N/A self pip_mock urllib_mock sys_mock N/A N/A N/A build_path N/A N/A N/A os path join build prestoadmin N/A exception N/A IOError N/A N/A exception errno socket error N/A N/A urllib_mock side_effect exception N/A N/A N/A self assertRaises IOError N/A N/A self bdist package_dependencies build_path N/A N/A patch packaging.bdist_prestoadmin.sys N/A patch packaging.bdist_prestoadmin.urllib.urlretrieve N/A patch packaging.bdist_prestoadmin.pip.main test_generate_online_install_script N/A N/A self N/A N/A N/A N/A N/A self generate_script install-prestoadmin.sh.online.expected True N/A test_generate_offline_install_script N/A N/A self N/A N/A N/A N/A N/A self generate_script install-prestoadmin.sh.offline.expected False N/A generate_script N/A N/A self expected_file is_online N/A N/A N/A N/A N/A N/A N/A self bdist online_install is_online N/A N/A N/A os chdir packaging_dir N/A N/A N/A N/A N/A os mkdir build N/A N/A N/A OSError N/A exception N/A N/A N/A N/A exception errno N/A errno EEXIST N/A N/A N/A N/A N/A N/A self bdist generate_install_script wheel_name build N/A actual_install_script N/A N/A N/A open build/install-prestoadmin.sh read N/A file_dir N/A N/A N/A os path abspath N/A N/A N/A os path dirname __file__ N/A template N/A N/A N/A os path join file_dir resources expected_file N/A expected_install_script N/A N/A N/A open template read N/A N/A N/A self assertEqual expected_install_script actual_install_script N/A N/A N/A remove_tree build N/A test_archive_dist_offline N/A N/A self N/A N/A N/A build_path N/A N/A N/A os path join build prestoadmin N/A N/A N/A N/A mkpath build_path N/A N/A N/A N/A self bdist archive_dist build_path dist N/A archive N/A N/A N/A os path join dist prestoadmin-1.2-offline.tar.bz2 N/A N/A N/A self assertTrue N/A N/A N/A os path exists archive N/A N/A N/A remove_tree N/A N/A N/A os path dirname build_path N/A N/A remove_tree dist N/A test_archive_dist_online N/A N/A self N/A N/A N/A build_path N/A N/A N/A os path join build prestoadmin N/A N/A N/A N/A mkpath build_path N/A N/A N/A self bdist online_install True N/A N/A N/A N/A self bdist archive_dist build_path dist N/A archive N/A N/A N/A os path join dist prestoadmin-1.2-online.tar.bz2 N/A N/A N/A self assertTrue N/A N/A N/A os path exists archive N/A N/A N/A remove_tree N/A N/A N/A os path dirname build_path N/A N/A remove_tree dist N/A test_run N/A N/A self archive_dist_mock package_dependencies_mock install_script_mock build_wheel_mock remove_tree_mock mkpath_mock N/A N/A N/A N/A N/A N/A self bdist run matching_regex N/A N/A expected_regex N/A N/A RegexMatcher N/A N/A __eq__ N/A N/A self other N/A N/A N/A N/A N/A re match expected_regex other N/A N/A N/A N/A RegexMatcher N/A N/A build_path_re N/A matching_regex build/bdist.*/prestoadmin N/A N/A N/A build_wheel_mock assert_called_once_with build_path_re N/A N/A N/A install_script_mock assert_called_once_with wheel_name build_path_re N/A N/A N/A package_dependencies_mock assert_called_once_with build_path_re N/A N/A N/A archive_dist_mock assert_called_once_with build_path_re dist N/A N/A patch distutils.core.Command.mkpath N/A patch packaging.bdist_prestoadmin.remove_tree N/A patch packaging.bdist_prestoadmin.bdist_prestoadmin.build_wheel return_value wheel_name N/A patch N/A packaging.bdist_prestoadmin.bdist_prestoadmin. generate_install_script N/A patch N/A packaging.bdist_prestoadmin.bdist_prestoadmin. package_dependencies N/A patch packaging.bdist_prestoadmin.bdist_prestoadmin.archive_dist test_description N/A N/A self N/A N/A N/A N/A N/A self assertEquals create a distribution for prestoadmin N/A N/A self bdist description N/A test_user_options N/A N/A self N/A N/A N/A expected N/A N/A bdist-dir= b temporary directory for creating the distribution N/A dist-dir= d directory to put final built distributions in N/A virtualenv-version= None version of virtualenv to download N/A keep-temp k N/A keep the pseudo-installation tree around after  creating the distribution archive N/A online-install None N/A N/A N/A boolean flag indicating if  the installation should pull dependencies from the  Internet or use the ones supplied in the third party  directory N/A N/A N/A self assertEquals expected N/A N/A self bdist user_options N/A N/A