bitbucket.tests Package

tests Package

public Module

class bitbucket.tests.public.AnonymousBitbucketTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

Bitbucket test base class.

setUp()[source]

Create a new annonymous Bitbucket...

tearDown()[source]

Destroy the Bitbucket...

class bitbucket.tests.public.BitbucketAnnonymousMethodsTest(methodName='runTest')[source]

Bases: bitbucket.tests.public.AnonymousBitbucketTest

Test Bitbucket annonymous methods.

test_get_none_public_repos()[source]

Test public_repos on specific user.

test_get_none_user()[source]

Test get_user with no username.

test_get_public_repos()[source]

Test public_repos on specific user.

test_get_self_public_repos()[source]

Test public_repos on specific user.

test_get_self_user()[source]

Test get_user on self username.

test_get_user()[source]

Test get_user on specific user.

class bitbucket.tests.public.BitbucketUtilitiesTest(methodName='runTest')[source]

Bases: bitbucket.tests.public.AnonymousBitbucketTest

Test Bitbucket utilities functions.

test_auth()[source]
test_default_credential()[source]
test_dispatch_delete()[source]
test_dispatch_get()[source]
test_dispatch_post()[source]
test_dispatch_put()[source]
test_password()[source]
test_repo_slug()[source]
test_url_complex()[source]
test_url_simple()[source]
test_username()[source]