Module Import alias ImportFrom alias Import alias ImportFrom alias alias alias FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Dict AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str Return NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call NameLoad Str Str NameLoad TryFinally body Expr Yield finalbody Expr Call NameLoad Str Str NameLoad decorator_list Call AttributeLoad NameLoad attr keyword NameLoad FunctionDef arguments args NameParam defaults body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr Str Assign TupleStore NameStore NameStore NameStore Call NameLoad ListLoad Str Str Str Str NameLoad Assert CompareEq NameLoad Num Assert CompareEq NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body With Call NameLoad Str Str NameLoad body Assign TupleStore NameStore NameStore NameStore Call NameLoad ListLoad Str Str Str Str NameLoad Assert CompareEq NameLoad Num Assert CompareEq NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr Str With Call NameLoad Str NameLoad NameLoad body Assign TupleStore NameStore NameStore NameStore Call NameLoad ListLoad Str Str Str Str NameLoad Assert CompareEq NameLoad Num Assert CompareIn Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body With Call NameLoad Str Str NameLoad body Assign TupleStore NameStore NameStore NameStore Call NameLoad ListLoad Str Str Str Str NameLoad Assert CompareEq NameLoad Num Assert CompareIn Str Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr Str With Call NameLoad Str NameLoad NameLoad body Assign TupleStore NameStore NameStore NameStore Call NameLoad ListLoad Str Str Str Str NameLoad Assert CompareEq NameLoad Num Assert CompareIn Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body With Call NameLoad Str Str NameLoad body Assign TupleStore NameStore NameStore NameStore Call NameLoad ListLoad Str Str Str Str NameLoad Assert CompareEq NameLoad Num Assert CompareIn Str Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr Str With Call NameLoad Str NameLoad NameLoad body Assign TupleStore NameStore NameStore NameStore Call NameLoad ListLoad Str Str Str Str NameLoad Assert CompareEq NameLoad Num Assert CompareEq NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body With Call NameLoad Str Str NameLoad body Assign TupleStore NameStore NameStore NameStore Call NameLoad ListLoad Str Str Str Str NameLoad Assert CompareEq NameLoad Num Assert CompareEq NameLoad Str decorator_list
N/A N/A os dcos constants N/A pytest common config_set exec_command update_config env N/A N/A N/A N/A N/A r N/A N/A N/A os environ copy N/A N/A N/A r update N/A N/A constants PATH_ENV N/A constants DCOS_CONFIG_ENV N/A N/A os environ N/A N/A constants PATH_ENV N/A N/A N/A os path join tests data dcos.toml N/A r N/A N/A pytest fixture setup_env N/A N/A env N/A N/A N/A N/A config_set core.dcos_url https://dcos.snakeoil.mesosphere.com env N/A N/A N/A N/A N/A N/A N/A config_set core.dcos_url http://dcos.snakeoil.mesosphere.com env N/A N/A N/A pytest yield_fixture autouse True test_dont_verify_ssl_with_env_var N/A N/A env N/A N/A N/A N/A env N/A N/A constants DCOS_SSL_VERIFY_ENV false N/A N/A returncode stdout stderr N/A exec_command N/A dcos marathon app list env N/A N/A returncode 0 N/A N/A stderr N/A N/A N/A env pop N/A constants DCOS_SSL_VERIFY_ENV N/A test_dont_verify_ssl_with_config N/A N/A env N/A N/A N/A N/A update_config core.ssl_verify false env N/A N/A N/A returncode stdout stderr N/A exec_command N/A dcos marathon app list env N/A N/A returncode 0 N/A N/A stderr N/A test_verify_ssl_without_cert_env_var N/A N/A env N/A N/A N/A N/A env N/A N/A constants DCOS_SSL_VERIFY_ENV true N/A N/A update_config core.ssl_verify None env N/A N/A N/A returncode stdout stderr N/A exec_command N/A dcos marathon app list env N/A N/A returncode 1 N/A N/A certificate verify failed N/A N/A stderr decode utf-8 N/A N/A N/A env pop N/A constants DCOS_SSL_VERIFY_ENV N/A test_verify_ssl_without_cert_config N/A N/A env N/A N/A N/A N/A update_config core.ssl_verify true env N/A N/A N/A returncode stdout stderr N/A exec_command N/A dcos marathon app list env N/A N/A returncode 1 N/A N/A certificate verify failed N/A N/A stderr decode utf-8 N/A test_verify_ssl_with_bad_cert_env_var N/A N/A env N/A N/A N/A N/A env N/A N/A constants DCOS_SSL_VERIFY_ENV tests/data/ssl/fake.pem N/A N/A update_config core.ssl_verify None env N/A N/A N/A returncode stdout stderr N/A exec_command N/A dcos marathon app list env N/A N/A returncode 1 N/A N/A PEM lib N/A N/A stderr decode utf-8 N/A N/A N/A env pop N/A constants DCOS_SSL_VERIFY_ENV N/A test_verify_ssl_with_bad_cert_config N/A N/A env N/A N/A N/A N/A update_config core.ssl_verify tests/data/ssl/fake.pem env N/A N/A N/A returncode stdout stderr N/A exec_command N/A dcos marathon app list env N/A N/A returncode 1 N/A N/A PEM lib N/A N/A stderr decode utf-8 N/A test_verify_ssl_with_good_cert_env_var N/A N/A env N/A N/A N/A N/A env N/A N/A constants DCOS_SSL_VERIFY_ENV /dcos-cli/adminrouter/snakeoil.crt N/A N/A update_config core.ssl_verify None env N/A N/A N/A returncode stdout stderr N/A exec_command N/A dcos marathon app list env N/A N/A returncode 0 N/A N/A stderr N/A N/A N/A env pop N/A constants DCOS_SSL_VERIFY_ENV N/A test_verify_ssl_with_good_cert_config N/A N/A env N/A N/A N/A N/A update_config core.ssl_verify /dcos-cli/adminrouter/snakeoil.crt env N/A N/A N/A returncode stdout stderr N/A exec_command N/A dcos marathon app list env N/A N/A returncode 0 N/A N/A stderr N/A