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

Automatic / hedwig-python
98%

Build:
DEFAULT BRANCH: master
Repo Added 10 May 2018 03:51PM CUT
Files 12
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

LAST BUILD ON BRANCH master
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • 1.3.0
  • 1.4.0
  • 2.0.0
  • 2.0.1
  • 2.1.0
  • 3.0.0
  • 3.0.1
  • 3.1.0
  • draft7
  • master

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

Relevant lines Covered
Build:
Build:
590 RELEVANT LINES 577 COVERED LINES
2.93 HITS PER LINE
Source Files on master
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Loading...
Coverage∆FileLinesRelevantCoveredMissedHits/Line
No data available in table
Showing 0 to 0 of 0 entries
  • Previous
  • Next

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
50 master 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... push 15 Feb 2019 10:40PM CUT web-flow travis-ci-com pending completion  
49 pytest-plugin-wildcard-data Replace .format() with f-string ...after noting that the code doesn't use .format() elsewhere and is targeted only at 3.6+. Pull #28 14 Feb 2019 08:20PM CUT web-flow travis-ci-com pending completion  
48 pytest-plugin-wildcard-data 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 defau... Pull #28 14 Feb 2019 08:15PM CUT web-flow travis-ci-com pending completion  
46 draft7 Use later versions of jsonschema too Pull #27 08 Jan 2019 11:57AM CUT web-flow travis-ci-com pending completion  
45 draft7 Use later versions of jsonschema too push 08 Jan 2019 11:57AM CUT mbachry travis-ci-com pending completion  
44 draft7 Fix doc link push 07 Jan 2019 07:37PM CUT mbachry travis-ci-com pending completion  
43 draft7 Fix doc link Pull #27 07 Jan 2019 07:37PM CUT web-flow travis-ci-com pending completion  
42 draft7 Move to jsonschema draft 7 Pull #27 07 Jan 2019 07:34PM CUT web-flow travis-ci-com pending completion  
41 draft7 Move to jsonschema draft 7 push 07 Jan 2019 07:34PM CUT mbachry travis-ci-com pending completion  
40 master Stringify schema errors to avoid "unprintable error" messages in pytest and others (#26) push 12 Dec 2018 07:02PM CUT web-flow travis-ci-com pending completion  
See All Builds (79)
  • Repo on GitHub
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

© 2025 Coveralls, Inc