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

jstasiak / python-zeroconf / 585
94%
master: 94%

Build:
Build:
LAST BUILD BRANCH: fix_typing
DEFAULT BRANCH: master
Ran 09 Apr 2020 10:12AM UTC
Jobs 5
Files 2
Run time 2min
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
585

push

travis-ci

jstasiak
Switch to pytest for test running

Nose is dead for all intents and purposes (last release in 2015) and
pytest provide a very valuable feature of printing relevant extra
information in case of assertion failure (from[1]):

    ================================= FAILURES =================================
    _______________________________ test_answer ________________________________

        def test_answer():
    >       assert func(3) == 5
    E       assert 4 == 5
    E        +  where 4 = func(3)

    test_sample.py:6: AssertionError
    ========================= short test summary info ==========================
    FAILED test_sample.py::test_answer - assert 4 == 5
    ============================ 1 failed in 0.12s =============================

This should be helpful in debugging tests intermittently failing on
PyPy.

Several TestCase.assertEqual() calls have been replaced by plain
assertions now that that method no longer provides anything we can't get
without it. Few assertions have been modified to not explicitly provide
extra information in case of failure – pytest will provide this
automatically.

[1] https://docs.pytest.org/en/latest/getting-started.html#create-your-first-test

2106 of 2247 relevant lines covered (93.72%)

4.68 hits per line

Jobs
ID Job ID Ran Files Coverage
1 585.1 09 Apr 2020 10:12AM UTC 0
93.74
Travis Job 585.1
2 585.2 09 Apr 2020 10:12AM UTC 0
93.65
Travis Job 585.2
3 585.3 09 Apr 2020 10:12AM UTC 0
93.74
Travis Job 585.3
4 585.4 09 Apr 2020 10:13AM UTC 0
93.66
Travis Job 585.4
6 585.6 09 Apr 2020 10:15AM UTC 0
93.74
Travis Job 585.6
Source Files on build 585
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #585
  • 69ee8051 on github
  • Next Build on switch-to-pytest (#587)
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