Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ClassDef bases NameLoad body Expr Str Assign NameStore Str Assign NameStore ListLoad Str FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str keyword Dict Str Str Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str keyword Dict Str Str Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Str NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Expr Call AttributeLoad NameLoad attr NameLoad Str Return TupleLoad Str Dict decorator_list Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword Str keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Str keyword Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Str keyword NameLoad keyword Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Str keyword Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Str keyword NameLoad keyword Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Str keyword Str keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Str keyword NameLoad keyword Str keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Str keyword Str keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Str keyword NameLoad keyword Str keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body FunctionDef arguments args NameParam NameParam defaults vararg kwarg body If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Str NameLoad Assign NameStore Str orelse Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Str NameLoad Assign NameStore Str Return TupleLoad NameLoad Dict decorator_list Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword NameLoad keyword Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assign AttributeStore NameLoad attr Dict Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Assign NameStore Str If BoolOpAnd UnaryOpNot NameLoad CompareEq NameLoad Str body AugAssignAdd NameStore BinOpMod Str NameLoad orelse AugAssignAdd NameStore BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad If NameLoad body Return TupleLoad Str Dict orelse Raise Call NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword NameLoad keyword Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assign AttributeStore NameLoad attr Dict Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list
N/A __future__ unicode_literals django.utils.six.moves.urllib.error HTTPError reviewboard.hostingsvcs.tests.testcases ServiceTests reviewboard.scmtools.models Repository Tool BeanstalkTests N/A ServiceTests N/A N/A Unit tests for the Beanstalk hosting service. N/A service_name beanstalk N/A fixtures N/A test_scmtools test_service_support N/A N/A self N/A N/A N/A Testing Beanstalk service support capabilities N/A N/A N/A self assertFalse N/A N/A self service_class supports_bug_trackers N/A N/A N/A self assertTrue N/A N/A self service_class supports_repositories N/A test_repo_field_values_git N/A N/A self N/A N/A N/A Testing Beanstalk repository field values for Git N/A fields N/A N/A self _get_repository_fields Git fields N/A beanstalk_account_domain beanstalk_repo_name mydomain myrepo N/A N/A N/A self assertEqual N/A fields N/A path git@mydomain.beanstalkapp.com:/mydomain/myrepo.git N/A N/A N/A self assertEqual N/A fields N/A mirror_path https://mydomain.git.beanstalkapp.com/myrepo.git N/A test_repo_field_values_subversion N/A N/A self N/A N/A N/A Testing Beanstalk repository field values for Subversion N/A fields N/A N/A self _get_repository_fields Subversion fields N/A beanstalk_account_domain beanstalk_repo_name mydomain myrepo N/A N/A N/A self assertEqual N/A fields N/A path https://mydomain.svn.beanstalkapp.com/myrepo/ N/A N/A N/A self assertNotIn mirror_path fields N/A test_authorize N/A N/A self N/A N/A N/A Testing Beanstalk authorization password storage N/A account N/A N/A self _get_hosting_account N/A service N/A account service N/A N/A N/A self assertFalse N/A N/A service is_authorized N/A N/A N/A service authorize myuser abc123 None N/A N/A N/A self assertIn password N/A account data N/A N/A N/A self assertNotEqual N/A N/A account data N/A password abc123 N/A N/A N/A self assertTrue N/A N/A service is_authorized N/A test_check_repository N/A N/A self N/A N/A N/A Testing Beanstalk check_repository _http_get N/A N/A service url N/A args kwargs N/A N/A N/A N/A self assertEqual url https://mydomain.beanstalkapp.com/api/repositories/myrepo.json N/A N/A {} N/A N/A N/A account N/A N/A self _get_hosting_account N/A service N/A account service N/A N/A N/A service authorize myuser abc123 None N/A N/A N/A self spy_on N/A N/A service client http_get call_fake _http_get N/A N/A N/A service check_repository beanstalk_account_domain mydomain beanstalk_repo_name myrepo N/A N/A N/A self assertTrue N/A N/A N/A service client http_get called N/A test_get_file_with_svn_and_base_commit_id N/A N/A self N/A N/A N/A Testing Beanstalk get_file with Subversion and base commit ID N/A N/A N/A self _test_get_file tool_name Subversion revision 123 base_commit_id 456 expected_revision 123 N/A test_get_file_with_svn_and_revision N/A N/A self N/A N/A N/A Testing Beanstalk get_file with Subversion and revision N/A N/A N/A self _test_get_file tool_name Subversion revision 123 base_commit_id None expected_revision 123 N/A test_get_file_with_git_and_base_commit_id N/A N/A self N/A N/A N/A Testing Beanstalk get_file with Git and base commit ID N/A N/A N/A self _test_get_file tool_name Git revision 123 base_commit_id 456 expected_revision 123 N/A test_get_file_with_git_and_revision N/A N/A self N/A N/A N/A Testing Beanstalk get_file with Git and revision N/A N/A N/A self _test_get_file tool_name Git revision 123 base_commit_id None expected_revision 123 N/A test_get_file_exists_with_svn_and_base_commit_id N/A N/A self N/A N/A N/A Testing Beanstalk get_file_exists with Subversion and base commit ID
         N/A N/A N/A self _test_get_file_exists tool_name Subversion revision 123 base_commit_id 456 expected_revision 123 expected_found True N/A test_get_file_exists_with_svn_and_revision N/A N/A self N/A N/A N/A Testing Beanstalk get_file_exists with Subversion and revision N/A N/A N/A self _test_get_file_exists tool_name Subversion revision 123 base_commit_id None expected_revision 123 expected_found True N/A test_get_file_exists_with_git_and_base_commit_id N/A N/A self N/A N/A N/A Testing Beanstalk get_file_exists with Git and base commit ID N/A N/A N/A self _test_get_file_exists tool_name Git revision 123 base_commit_id 456 expected_revision 456 expected_found True N/A test_get_file_exists_with_git_and_revision N/A N/A self N/A N/A N/A Testing Beanstalk get_file_exists with Git and revision N/A N/A N/A self _test_get_file_exists tool_name Git revision 123 base_commit_id None expected_revision 123 expected_found True N/A _test_get_file N/A N/A self tool_name revision base_commit_id expected_revision N/A N/A _http_get N/A N/A service url N/A args kwargs N/A N/A N/A tool_name Git N/A N/A N/A N/A self assertEqual url N/A https://mydomain.beanstalkapp.com/api/repositories/myrepo/blob?id=%s&name=path expected_revision N/A payload My data N/A N/A N/A N/A self assertEqual url N/A https://mydomain.beanstalkapp.com/api/repositories/myrepo/node.json?path=/path&revision=%s&contents=true expected_revision N/A payload {"contents": "My data"} N/A N/A payload N/A N/A N/A account N/A N/A self _get_hosting_account N/A service N/A account service N/A repository N/A Repository hosting_account account tool N/A N/A N/A Tool objects get name tool_name N/A N/A repository extra_data N/A beanstalk_account_domain beanstalk_repo_name mydomain myrepo N/A N/A N/A service authorize myuser abc123 None N/A N/A N/A self spy_on N/A N/A service client http_get call_fake _http_get N/A result N/A N/A service get_file repository /path revision base_commit_id N/A N/A N/A self assertTrue N/A N/A N/A service client http_get called N/A N/A N/A self assertEqual result My data N/A _test_get_file_exists N/A N/A self tool_name revision base_commit_id expected_revision expected_found N/A N/A _http_get N/A N/A service url N/A args kwargs N/A N/A expected_url https://mydomain.beanstalkapp.com/api/repositories/myrepo/ N/A N/A N/A base_commit_id N/A tool_name Git N/A N/A expected_url N/A blob?id=%s&name=path expected_revision N/A N/A expected_url N/A node.json?path=/path&revision=%s expected_revision N/A N/A N/A self assertEqual url expected_url N/A expected_found N/A N/A N/A {} N/A N/A N/A N/A HTTPError N/A N/A account N/A N/A self _get_hosting_account N/A service N/A account service N/A repository N/A Repository hosting_account account tool N/A N/A N/A Tool objects get name tool_name N/A N/A repository extra_data N/A beanstalk_account_domain beanstalk_repo_name mydomain myrepo N/A N/A N/A service authorize myuser abc123 None N/A N/A N/A self spy_on N/A N/A service client http_get call_fake _http_get N/A result N/A N/A service get_file_exists repository /path revision base_commit_id N/A N/A N/A self assertTrue N/A N/A N/A service client http_get called N/A N/A N/A self assertEqual result expected_found N/A N/A