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

jstasiak / python-zeroconf / 597
94%

Build:
DEFAULT BRANCH: master
Ran 09 Apr 2020 11:02AM UTC
Jobs 6
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
597

push

travis-ci

web-flow
Switch to pytest for test running (#240)

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.

Dev dependencies are forced to be the latest versions to make sure
we don't fail because of outdated ones on Travis.

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

512 of 615 branches covered (83.25%)

2106 of 2247 relevant lines covered (93.72%)

5.62 hits per line

Jobs
ID Job ID Ran Files Coverage
1 597.1 09 Apr 2020 11:02AM UTC 0
93.74
Travis Job 597.1
2 597.2 09 Apr 2020 11:03AM UTC 0
93.74
Travis Job 597.2
3 597.3 09 Apr 2020 11:02AM UTC 0
93.65
Travis Job 597.3
4 597.4 09 Apr 2020 11:02AM UTC 0
93.74
Travis Job 597.4
5 597.5 09 Apr 2020 11:03AM UTC 0
93.74
Travis Job 597.5
6 597.6 09 Apr 2020 11:05AM UTC 0
93.74
Travis Job 597.6
Source Files on build 597
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #597
  • f071f3d4 on github
  • Prev Build on master (#578)
  • Next Build on master (#612)
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