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

tortoise / tortoise-orm / 22629696238
82%
master: 94%

Build:
Build:
LAST BUILD BRANCH: add-union
DEFAULT BRANCH: master
Ran 03 Mar 2026 03:26PM UTC
Jobs 1
Files 132
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

03 Mar 2026 03:20PM UTC coverage: 82.441% (+0.003%) from 82.438%
22629696238

push

github

web-flow
fix: use configured timezone for MySQL session time_zone (#2127)

* fix: use configured timezone for MySQL session time_zone

When use_tz=True, the MySQL client was using timezone.now().utcoffset()
to compute the session time_zone offset. Since timezone.now() returns a
UTC-aware datetime, its utcoffset() is always timedelta(0), so the
session was always set to +0:00 regardless of the configured timezone.

Use get_default_timezone() to obtain the configured timezone and compute
the correct UTC offset from it.

Fixes #2114

* style: fix ruff formatting in test_connection_params.py

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

2774 of 3830 branches covered (72.43%)

Branch coverage included in aggregate %.

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

10382 of 12128 relevant lines covered (85.6%)

0.86 hits per line

Jobs
ID Job ID Ran Files Coverage
1 22629696238.1 03 Mar 2026 03:26PM UTC 132
82.44
GitHub Action Run
Source Files on build 22629696238
  • Tree
  • List 132
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 54820edd on github
  • Prev Build on main (#21806470255)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc