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

jstasiak / python-zeroconf / 401
94%

Build:
DEFAULT BRANCH: master
Ran 22 May 2019 08:28AM UTC
Jobs 4
Files 1
Run time 30s
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
401

push

travis-ci

jstasiak
Add support for multiple addresses when publishing a service (#170)

This is a rebased and fixed version of PR #27, which also adds compatibility shim for ServiceInfo.address and does a proper deprecation for it.

* Present all addresses that are available.

* Add support for publishing multiple addresses.

* Add test for backwards compatibility.

* Provide proper deprecation of the "address" argument and field

* Raise deprecation warnings when address is used
* Add a compatibility property to avoid breaking existing code
  (based on suggestion by Bas Stottelaar in PR #27)
* Make addresses keyword-only, so that address can be eventually
  removed and replaced with it without breaking consumers
* Raise TypeError instead of an assertion on conflicting address
  and addresses

* Disable black on ServiceInfo.__init__ until black is fixed

Due to https://github.com/python/black/issues/759 black produces
code that is invalid Python 3.5 syntax even with --target-version py35.
This patch disables reformatting for this call (it doesn't seem to be
possible per line) until it's fixed.

36 of 36 new or added lines in 1 file covered. (100.0%)

1164 of 1243 relevant lines covered (93.64%)

3.75 hits per line

Jobs
ID Job ID Ran Files Coverage
1 401.1 22 May 2019 08:28AM UTC 0
93.64
Travis Job 401.1
2 401.2 22 May 2019 08:28AM UTC 0
93.64
Travis Job 401.2
3 401.3 22 May 2019 08:28AM UTC 0
93.64
Travis Job 401.3
4 401.4 22 May 2019 08:28AM UTC 0
93.64
Travis Job 401.4
Source Files on build 401
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #401
  • c7876108 on github
  • Prev Build on master (#400)
  • Next Build on master (#405)
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