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

binbashar / leverage / 43648042692
78%

Build:
DEFAULT BRANCH: master
Ran 14 Nov 2026 10:26PM 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 10:25PM UTC coverage: 77.112% (+4.1%) from 73.049%
43648042692

push

github

web-flow
Fix | SSO token expiry compared in UTC, MFA recognizes STS errors + auth.py tests with Stubber (#354)

* Fix | Compare the SSO token expiry in UTC, recognize STS errors on MFA

- check_sso_token compared the token's UTC expiresAt with the local time:
  in UTC-3 an expired token was taken as valid for 3 more hours, and in
  UTC+ zones valid tokens were rejected.
- refresh_layer_credentials_mfa expected AccessDeniedException and
  ExpiredToken, but STS returns AccessDenied and ExpiredTokenException.
  A user without permission was asked for the MFA code 3 times without
  any message. Now AccessDenied exits with 40 and any other error exits
  with 50 at once, instead of asking for another code.

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

* Enhancement | Test auth.py against real files and Stubber-backed boto3 clients

Rewrites tests/test_modules/test_auth.py: a real PathsHandler over a
project in tmp_path, real config/credentials/token files, an isolated
HOME, and real sso/sts clients under botocore Stubber. Adds the first
MFA tests and a timezone case for check_sso_token. Drops the tests that
duplicated aws.py functions, already covered end to end in test_aws.py.

auth.py coverage goes from 60% to 93%.

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

---------

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

710 of 1072 branches covered (66.23%)

Branch coverage included in aggregate %.

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

6 existing lines in 1 file now uncovered.

3252 of 4066 relevant lines covered (79.98%)

0.8 hits per line

Coverage Regressions

Lines Coverage ∆ File
6
93.46
33.53% modules/auth.py
Jobs
ID Job ID Ran Files Coverage
1 43648042692.1 14 Nov 2026 10:26PM UTC 44
77.11
GitHub Action Run
Source Files on build 43648042692
  • Tree
  • List 44
  • Changed 4
  • Source Changed 1
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #43648042692
  • c488224c on github
  • Prev Build on master (#43631019798)
  • Next Build on master (#43661792741)
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