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

jlusiardi / homekit_python / 589
77%

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

pending completion
589

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%)

2.97 hits per line

Jobs
ID Job ID Ran Files Coverage
1 589.1 04 Apr 2020 03:44PM UTC 0
78.08
Travis Job 589.1
2 589.2 04 Apr 2020 03:44PM UTC 0
78.08
Travis Job 589.2
3 589.3 04 Apr 2020 03:44PM UTC 0
78.08
Travis Job 589.3
4 589.4 (PYTHON=3.5.6) 04 Apr 2020 03:50PM UTC 0
77.48
Travis Job 589.4
Source Files on build 589
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #589
  • cd082847 on github
  • Prev Build on master (#581)
  • Next Build on master (#599)
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