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

Automatic / hedwig-python
98%

Build:
DEFAULT BRANCH: master
Repo Added 10 May 2018 03:51PM UTC
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: master
CHANGE BRANCH
x
Reset
  • master
  • 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

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
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

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 UTC web-flow 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 UTC web-flow travis-ci-com pending completion  
38 master Add HEDWIG_POST_PROCESS_HOOK (#25) push 16 Nov 2018 01:37AM UTC web-flow travis-ci-com pending completion  
35 master Bump version: 3.1.0 → 3.1.1-dev push 10 Nov 2018 01:15AM UTC maroux travis-ci-com pending completion  
34 master Allow checking for message version and payload in assert_message_not_published (#24) push 10 Nov 2018 12:56AM UTC web-flow travis-ci-com pending completion  
32 master Add repr method better diagnostics (#23) * Add repr method better diagnostics * Add schema validation error messages * Bump requirements and related fixes push 07 Nov 2018 09:10PM UTC web-flow travis-ci-com pending completion  
29 master Document pytest plugin (#22) - Also add autodoc typing plugin to make typing hints documentation just slightly better. A side effect of agronholm/sphinx-autodoc-typehints#22 is that we have to remove typing hints for circular imports push 26 Oct 2018 03:30PM UTC web-flow travis-ci-com pending completion  
20 master Fix docs which were broken after last version change (#21) Also: * add caching * build docs with tests so failures are caught push 04 Oct 2018 04:08PM UTC web-flow travis-ci-com pending completion  
18 master Add Black formatter (#20) - Also use 3.7.0 instead of 3.7-dev push 04 Oct 2018 02:59PM UTC web-flow travis-ci-com pending completion  
11 master Bump version: 3.0.1 → 3.0.2-dev push 03 Oct 2018 11:01PM UTC maroux 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