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

home-assistant / home-assistant-cli / 66 / 4
72%
dev: 72%

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

12 Dec 2018 08:37PM UTC coverage: 26.827% (+0.04%) from 26.786%
TOXENV=cov

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

Source Files on job 66.4 (TOXENV=cov)
  • Tree
  • List 0
  • Changed 14
  • Source Changed 4
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 41
  • Travis Job 66.4
  • 129ee3aa on github
  • Prev Job for TOXENV=cov on dev (#63.4)
  • Next Job for TOXENV=cov on dev (#74.4)
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