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

skodaconnect / myskoda / 15146208646
85%

Build:
DEFAULT BRANCH: main
Ran 20 May 2025 07:29PM UTC
Jobs 1
Files 37
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

20 May 2025 07:29PM UTC coverage: 86.228% (-0.3%) from 86.522%
15146208646

push

github

web-flow
chore/refactor: remove amqtt, refactor tests + MySkodaMqttClient (#436)

* refactor: decouple aiomqtt.Client from MySkodaMqttClient

Allow tests injecting their own fake client so that we can test
MySkodaMqttClient without needing an actual MQTT broker and so we test
our own code and not the aiomqtt client code.

* chore: remove amqtt, refactor affected tests

Fixes #401.

amqtt is old, unmaintained, and causes dependency issues.

Rather than trying to replace it we've refactored the tests and tested
code to no longer depend on a 'real' MQTT broker running. This focusses
the tests on our own code instead of mostly testing the MQTT client lib
(aiomqtt).

This is done by injecting a fake aiomqtt.Client in MySkodaMqttClient.

2279 of 2643 relevant lines covered (86.23%)

0.86 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
24
84.16
0.56% mqtt.py
37
68.16
0.0% auth/authorization.py
127
58.52
-1.97% myskoda.py
Jobs
ID Job ID Ran Files Coverage
1 15146208646.1 20 May 2025 07:29PM UTC 37
86.23
GitHub Action Run
Source Files on build 15146208646
  • Tree
  • List 37
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #15146208646
  • 119a75aa on github
  • Prev Build on main (#15119891425)
  • Next Build on main (#15154868671)
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

© 2025 Coveralls, Inc