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

tortoise / tortoise-orm / 22629894961
84%
master: 94%

Build:
Build:
LAST BUILD BRANCH: fix/db-default-return
DEFAULT BRANCH: master
Ran 03 Mar 2026 03:34PM UTC
Jobs 1
Files 134
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:25PM UTC coverage: 83.349% (+0.003%) from 83.346%
22629894961

push

github

abondar
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>
(cherry picked from commit 54820eddf)

2993 of 4056 branches covered (73.79%)

Branch coverage included in aggregate %.

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

10998 of 12730 relevant lines covered (86.39%)

0.86 hits per line

Jobs
ID Job ID Ran Files Coverage
1 22629894961.1 03 Mar 2026 03:34PM UTC 134
83.35
GitHub Action Run
Source Files on build 22629894961
  • Tree
  • List 134
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • f566e97b on github
  • Prev Build on develop (#22628620592)
  • Next Build on develop (#22631095456)
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