Discontinue use of deprecated teams API in Bitbucket OAuth client
Showing 1 of 4 files from the diff.
master/buildbot/www/oauth2.py
changed.
Other files ignored by Codecov
master/buildbot/test/unit/www/test_oauth.py
has changed.
master/docs/spelling_wordlist.txt
has changed.
@@ -395,8 +395,8 @@
Loading
395 | 395 | if email.get('is_primary', False): |
|
396 | 396 | user['email'] = email['email'] |
|
397 | 397 | break |
|
398 | - | orgs = self.get(c, '/teams?role=member') |
|
398 | + | orgs = self.get(c, '/workspaces?role=member') |
|
399 | 399 | return dict(full_name=user['display_name'], |
|
400 | 400 | email=user['email'], |
|
401 | 401 | username=user['username'], |
|
402 | - | groups=[org['username'] for org in orgs["values"]]) |
|
402 | + | groups=[org['slug'] for org in orgs["values"]]) |
Files | Coverage |
---|---|
master/buildbot | 92.32% |
worker/buildbot_worker | 85.64% |
Project Totals (334 files) | 91.91% |
1448822000
1448822000
Untitled
1448822000
1448822000
1448822000
Untitled
1448822000
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file.
The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files.
The size and color of each slice is representing the number of statements and the coverage, respectively.