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

Automatic / hedwig-python / 50 / 2
98%
master: 98%

Build:
DEFAULT BRANCH: master
Ran 15 Feb 2019 10:40PM UTC
Files 12
Run time 105min
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

15 Feb 2019 10:38PM UTC coverage: 97.797% (-0.2%) from 97.949%
50.2

push

travis-ci-com

web-flow
Fix comparison on _message_published without data specified (#28)

* Fix comparison on _message_published without data specified

In HedwigPublishMock._message_published(),
    (data is None or msg.data) == data
should be
    (data is None or msg.data == data)

Instead, simplify the comparison by using as the default for data a
dict subclass that compares equal to any dict.

Add a unit test for the plugin that exercises the case of omitting the
optional data argument.

* Replace .format() with f-string

...after noting that the code doesn't use .format() elsewhere and is
targeted only at 3.6+.

577 of 590 relevant lines covered (97.8%)

0.98 hits per line

Source Files on job 50.2
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 79
  • Travis Job 50.2
  • 8ff3f47d on github
  • Prev Job for on master (#40.1)
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