Module Expr Str Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body ImportFrom alias Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Num keyword NameLoad keyword NameLoad keyword NameLoad Assign AttributeStore NameLoad attr Call NameLoad keyword AttributeLoad NameLoad attr keyword Str Assign AttributeStore NameLoad attr ListLoad Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Str keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword NameLoad keyword NameLoad Assign AttributeStore NameLoad attr Call NameLoad keyword NameLoad keyword Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad GeneratorExp Call NameLoad NameLoad AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore AttributeLoad Call NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr NameLoad Expr Call AttributeLoad NameLoad attr ListLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr attr Str Call AttributeLoad NameLoad attr Num Assign NameStore SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Index Num Index Num Expr Call AttributeLoad NameLoad attr CompareIn Call AttributeLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr attr Str NameLoad Assign AttributeStore NameLoad attr NameLoad With Call AttributeLoad NameLoad attr Str NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore AttributeLoad Call NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr ListLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str keyword NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Num Assign AttributeStore AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str keyword NameLoad Call AttributeLoad NameLoad attr Str keyword NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameStore Call AttributeLoad NameLoad attr keyword Num Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str keyword NameLoad decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A Tests for certbot.plugins.manual. N/A signal N/A unittest N/A mock acme challenges acme jose certbot achallenges certbot errors certbot.tests acme_util certbot.tests test_util N/A KEY N/A N/A N/A jose JWKRSA load N/A N/A test_util load_vector rsa512_key.pem AuthenticatorTest N/A N/A unittest TestCase N/A N/A Tests for certbot.plugins.manual.Authenticator. setUp N/A N/A self N/A N/A certbot.plugins.manual Authenticator N/A N/A self config N/A N/A mock MagicMock http01_port 8080 manual_test_mode False manual_public_ip_logging_ok False noninteractive_mode True N/A N/A self auth N/A Authenticator config N/A self config name manual N/A N/A self achalls N/A N/A N/A achallenges KeyAuthorizationAnnotatedChallenge challb N/A acme_util HTTP01_P domain foo.com account_key KEY N/A config_test_mode N/A N/A mock MagicMock http01_port 8080 manual_test_mode True noninteractive_mode True N/A N/A self auth_test_mode N/A Authenticator config config_test_mode name manual N/A test_prepare N/A N/A self N/A N/A N/A N/A N/A self assertRaises N/A errors PluginError N/A N/A self auth prepare N/A N/A N/A N/A self auth_test_mode prepare N/A test_more_info N/A N/A self N/A N/A N/A N/A N/A self assertTrue N/A isinstance N/A N/A N/A self auth more_info str N/A test_get_chall_pref N/A N/A self N/A N/A N/A N/A N/A self assertTrue N/A all N/A N/A issubclass pref N/A challenges Challenge N/A pref N/A N/A N/A self auth get_chall_pref foo.com N/A test_perform_empty N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A N/A N/A self auth perform N/A N/A test_perform N/A N/A self mock_raw_input mock_verify mock_stdout mock_interaction N/A N/A N/A N/A mock_verify return_value True N/A N/A N/A N/A mock_interaction yesno return_value True N/A resp N/A N/A N/A N/A self achalls N/A 0 response KEY N/A N/A N/A self assertEqual N/A resp N/A N/A N/A self auth perform N/A self achalls N/A N/A N/A self assertEqual 1 N/A mock_raw_input call_count N/A N/A N/A mock_verify assert_called_with N/A N/A N/A N/A self achalls N/A 0 challb chall foo.com N/A N/A KEY public_key 8080 N/A message N/A N/A N/A N/A N/A mock_stdout write mock_calls N/A 0 N/A 1 N/A 0 N/A N/A N/A self assertTrue N/A N/A N/A N/A N/A N/A self achalls N/A 0 chall encode token message N/A N/A mock_verify return_value False N/A N/A N/A mock patch certbot.plugins.manual.logger mock_logger N/A N/A N/A N/A N/A self auth perform N/A self achalls N/A N/A N/A N/A mock_logger warning assert_called_once_with N/A mock ANY N/A N/A N/A mock patch certbot.plugins.manual.zope.component.getUtility N/A N/A mock patch certbot.plugins.manual.sys.stdout N/A N/A mock patch acme.challenges.HTTP01Response.simple_verify N/A N/A mock patch __builtin__.raw_input test_disagree_with_ip_logging N/A N/A self mock_notify mock_interaction N/A N/A N/A N/A N/A N/A mock_interaction yesno return_value False N/A N/A mock_notify side_effect N/A N/A errors Error Exception not raised,             continued execution even after disagreeing with IP logging N/A N/A N/A self assertRaises N/A errors PluginError N/A N/A self auth perform N/A self achalls N/A N/A N/A mock patch certbot.plugins.manual.zope.component.getUtility N/A N/A mock patch certbot.plugins.manual.Authenticator._notify_and_wait test_perform_test_command_oserror N/A N/A self mock_popen N/A N/A N/A N/A mock_popen side_effect OSError N/A N/A N/A self assertEqual N/A False N/A N/A N/A self auth_test_mode perform N/A self achalls N/A N/A N/A mock patch certbot.plugins.manual.subprocess.Popen autospec True test_perform_test_command_run_failure N/A N/A self mock_popen unused_mock_sleep unused_mock_socket N/A N/A N/A N/A N/A mock_popen poll return_value 10 N/A N/A N/A mock_popen return_value pid 1234 N/A N/A N/A self assertRaises N/A errors Error N/A N/A self auth_test_mode perform N/A self achalls N/A N/A N/A mock patch certbot.plugins.manual.socket.socket N/A N/A mock patch certbot.plugins.manual.time.sleep autospec True N/A N/A mock patch certbot.plugins.manual.subprocess.Popen autospec True test_cleanup_test_mode_already_terminated N/A N/A self N/A N/A N/A N/A N/A self auth_test_mode _httpd httpd N/A N/A mock Mock N/A N/A N/A httpd poll return_value 0 N/A N/A N/A N/A self auth_test_mode cleanup N/A self achalls N/A test_cleanup_test_mode_kills_still_running N/A N/A self mock_killpg N/A N/A N/A N/A N/A self auth_test_mode _httpd httpd N/A N/A mock Mock pid 1234 N/A N/A N/A httpd poll return_value None N/A N/A N/A N/A self auth_test_mode cleanup N/A self achalls N/A N/A N/A mock_killpg assert_called_once_with 1234 N/A signal SIGTERM N/A N/A N/A mock patch certbot.plugins.manual.os.killpg autospec True N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main