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

Automatic / hedwig-python / 50
98%

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

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%)

2.93 hits per line

Jobs
ID Job ID Ran Files Coverage
1 50.1 15 Feb 2019 10:40PM UTC 0
97.8
Travis Job 50.1
2 50.2 15 Feb 2019 10:40PM UTC 0
97.8
Travis Job 50.2
3 50.3 15 Feb 2019 10:40PM UTC 0
97.8
Travis Job 50.3
Source Files on build 50
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #50
  • 8ff3f47d on github
  • Prev Build on master (#40)
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