Jump to >

reviewboard.testing.hosting_services

class TestServiceForm(*args, **kwargs)[source]

Bases: reviewboard.hostingsvcs.forms.HostingServiceForm

declared_fields = {'test_repo_name': <django.forms.fields.CharField object>}[source]
class TestService(account)[source]

Bases: reviewboard.hostingsvcs.service.HostingService

hosting_service_id = u'test'[source]
name = u'Test Service'[source]
form[source]

alias of TestServiceForm

needs_authorization = True[source]
supports_repositories = True[source]
supports_bug_trackers = True[source]
supports_two_factor_auth = True[source]
has_repository_hook_instructions = True[source]
supported_scmtools = [u'Git', u'Test', u'perforce'][source]
visible_scmtools = [u'git', u'test'][source]
bug_tracker_field = u'http://example.com/%(hosting_account_username)s/%(test_repo_name)s/issue/%%s'[source]
repository_fields = {u'Git': {u'path': u'http://example.com/%(test_repo_name)s/'}, u'Perforce': {u'path': u'%(test_repo_name).p4.example.com:1666'}, u'Test': {u'path': u'http://example.com/%(test_repo_name)s/'}}[source]
authorize(username, password, hosting_url, local_site_name=None, two_factor_auth_code=None, *args, **kwargs)[source]
is_authorized()[source]
check_repository(test_repo_name, *args, **kwargs)[source]
class SelfHostedTestService(account)[source]

Bases: reviewboard.testing.hosting_services.TestService

hosting_service_id = u'self_hosted_test'[source]
name = u'Self-Hosted Test'[source]
self_hosted = True[source]
bug_tracker_field = u'%(hosting_url)s/%(test_repo_name)s/issue/%%s'[source]
repository_fields = {u'Git': {u'mirror_path': u'git@%(hosting_domain)s:%(test_repo_name)s/', u'path': u'%(hosting_url)s/%(test_repo_name)s/'}, u'Test': {u'mirror_path': u'git@%(hosting_domain)s:%(test_repo_name)s/', u'path': u'%(hosting_url)s/%(test_repo_name)s/'}}[source]