summaryrefslogtreecommitdiffstatshomepage
path: root/test/unit
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-06-10 11:35:32 +0200
committerEgor Tensin <egor@tensin.name>2026-06-10 11:35:32 +0200
commitbef5795428c8aa6477d67e01f0f84f5a02f737c1 (patch)
tree0e9c64576f8ee8ec619e526ad27f717e8d0b5d90 /test/unit
parentbitbucket: switch from app passwords (deprecated) to API tokens (diff)
downloadcgitize-bef5795428c8aa6477d67e01f0f84f5a02f737c1.tar.gz
cgitize-bef5795428c8aa6477d67e01f0f84f5a02f737c1.zip
bitbucket: rename "username" to "email"
It's Atlassian emails instead of usernames now.
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/test_bitbucket.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/test_bitbucket.py b/test/unit/test_bitbucket.py
index 26e86bf..e81cdef 100644
--- a/test/unit/test_bitbucket.py
+++ b/test/unit/test_bitbucket.py
@@ -13,7 +13,7 @@ from requests.exceptions import HTTPError
class BitbucketTests(unittest.TestCase):
def setUp(self):
self.bitbucket = Cloud(
- username=os.environ.get('CGITIZE_BITBUCKET_USERNAME'),
+ username=os.environ.get('CGITIZE_BITBUCKET_EMAIL'),
password=os.environ.get('CGITIZE_BITBUCKET_TOKEN'),
cloud=True,
)