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

skodaconnect / myskoda / 11393264278
85%

Build:
DEFAULT BRANCH: main
Ran 17 Oct 2024 09:24PM UTC
Jobs 1
Files 28
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

17 Oct 2024 09:23PM UTC coverage: 88.925% (+25.4%) from 63.505%
11393264278

push

github

web-flow
Add tests for MQTT and Operations (#106)

This PR adds tests for MQTT and all operations.

This also fixes some issues along the lines:

* We forgot to expose `set_charge_mode` as an operation
* We didn't wait until a topic was actually subscribed to
* Some aliases in the events from MQTT were wrong
* We didn't wait until the client is actually disconnected in `mqtt.disconnect`
* When using `honk_and_flash` with only `flash`, the wrong MQTT operation was awaited

And improves some other things:

* Events are now dataclasses
* CLI code is no longer taken into account for coverage report

1622 of 1824 relevant lines covered (88.93%)

0.89 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
6
81.82
0.48% anonymize.py
25
81.01
54.67% mqtt.py
33
78.3
25.62% myskoda.py
Jobs
ID Job ID Ran Files Coverage
1 11393264278.1 17 Oct 2024 09:24PM UTC 28
88.93
GitHub Action Run
Source Files on build 11393264278
  • Tree
  • List 28
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #11393264278
  • c4e0075b on github
  • Prev Build on main (#11393228557)
  • Next Build on main (#11393282448)
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