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

home-assistant / home-assistant-cli / 66
72%

Build:
DEFAULT BRANCH: dev
Ran 12 Dec 2018 08:41PM UTC
Jobs 1
Files 185
Run time 24s
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
66

push

travis-ci-com

maxandersen
Fix bad url creation and don't ignore 401

In #64 it was found that `hass-cli info` would return empty result
when there was 401 auth errors AND for some reason setting HASSIO_TOKEN was not
enough to make use of http://hassio/homeassistant as base url.

401 was easy fix by simply ensuring we will throw
an exception if error occurs + added basic test for this.

Hassio issue was because urljoin was used for combing baseurl with api
path. Now moved to basic string concat so it will work as expected, i.e.

http://hassio/homeassistant + /api/discovery_info gives http://hassio/homeassistant/api/discovery_info

And not http://hassio/api/discovery_info which was the cause of the bugs.

9513 of 35460 relevant lines covered (26.83%)

0.27 hits per line

Jobs
ID Job ID Ran Files Coverage
4 66.4 (TOXENV=cov) 12 Dec 2018 08:41PM UTC 0
26.83
Travis Job 66.4
Source Files on build 66
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #66
  • 129ee3aa on github
  • Prev Build on dev (#63)
  • Next Build on dev (#74)
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