• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

binbashar / leverage / 43628491014
78%

Build:
DEFAULT BRANCH: master
Ran 14 Nov 2026 06:47PM UTC
Jobs 1
Files 44
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

14 Nov 2026 06:46PM UTC coverage: 72.981% (+5.3%) from 67.689%
43628491014

push

github

web-flow
Enhancement | CLI tests for leverage aws (sso login/refresh/logout, configure sso) + two fixes (#351)

* Fix | aws sso login and configure sso error messages

* `sso login` without a configured `<project>-sso` profile showed an empty
  "Command execution failed:" instead of the hint to run `configure sso`:
  `Runner.exec` raises by default since #316, before the check was reached.
* `configure sso` crashed with a TypeError when the account is not under
  `organization.accounts` and the organization has no organizational units,
  instead of reporting the missing account configuration.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Enhancement | CLI tests for leverage aws: sso login/refresh/logout and configure sso

Run the commands end to end through Click, with real boto3 sso and sso-oidc
clients under botocore's Stubber (checks operations, parameters and response
shapes against the service models) and a fake `aws` executable that does
`configure get/set` on the real config file. HOME is isolated.

aws.py branch coverage goes from 41% to 96%.

Relates to #346 (H6, H7).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Fix | Keep the slower polling interval after an SSO slow_down

RFC 8628 (3.5) requires the device flow polling interval to grow by 5
seconds for the slow_down response and every later request. `sso login`
waited 5 more seconds once, then went back to the original interval.

The test now chains two slow_downs: 10, 10, 15, 15 seconds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

652 of 1080 branches covered (60.37%)

Branch coverage included in aggregate %.

4 of 4 new or added lines in 1 file covered. (100.0%)

1 existing line in 1 file now uncovered.

3108 of 4072 relevant lines covered (76.33%)

0.76 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
96.41
55.42% modules/aws.py
Jobs
ID Job ID Ran Files Coverage
1 43628491014.1 14 Nov 2026 06:47PM UTC 44
72.98
GitHub Action Run
Source Files on build 43628491014
  • Tree
  • List 44
  • Changed 10
  • Source Changed 1
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #43628491014
  • 2ee5ca74 on github
  • Prev Build on master (#43626544866)
  • Next Build on master (#43629951336)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc