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

jlusiardi / homekit_python / 589 / 1
77%
master: 77%

Build:
DEFAULT BRANCH: master
Ran 04 Apr 2020 03:44PM UTC
Files 70
Run time 4s
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

04 Apr 2020 03:39PM UTC coverage: 78.077% (+0.7%) from 77.358%
589.1

push

travis-ci

web-flow
Remove padding whitespace to satisfy Tado (#182)

* Remove padding whitespace to satisfy Tado

Taking iPhone requests as source of truth about the format of json payloads
there should be no whitespace after comma (or anywhere that would be just spacing).
Some devices (like Tado Internet Bridge) are really fussy about that, and sending
json payload in Python's standard formatting will cause it to return error.
I.e. sending perfectly valid json:
    {"characteristics":[{"iid":15, "aid":2, "ev":true}]}
will not work, while:
    {"characteristics":[{"iid":15,"aid":2,"ev":true}]}
is accepted.

* Fixing #181 - strip whitespaces for tado devices

Merging #182
Adding tests for the stripped spaces
Stripping spaces also for put_characteristics

* update contributors list in README

* Compact json payloads

* Extend regression tests

Co-authored-by: Joachim Lusiardi <joachim@lusiardi.de>

3305 of 4233 relevant lines covered (78.08%)

0.78 hits per line

Source Files on job 589.1
  • Tree
  • List 0
  • Changed 15
  • Source Changed 1
  • Coverage Changed 15
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 432
  • Travis Job 589.1
  • cd082847 on github
  • Prev Job for on master (#581.3)
  • Next Job for on master (#599.2)
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