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

AdvancedClimateSystems / uModbus / 317 / 2
96%
master: 96%

Build:
DEFAULT BRANCH: master
Ran 27 Jul 2020 07:10AM UTC
Files 15
Run time 2s
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

27 Jul 2020 07:09AM UTC coverage: 95.829%. Remained the same
317.2

push

travis-ci

web-flow
Change factory methods to class methods (#103)

Instead of declaring the create_from_request_pdu and create_from_response_pdu factory methods as @staticmethod, use @classmethod. Then the class is passed to the method as the cls parameter, which can be used to instantiate an instance, rather than hardcoding the class name.

This allows the function classes to be subclassed without having to reimplement the factory methods just to change the class name.

Also fixes up some comments that were incorrect.

850 of 887 relevant lines covered (95.83%)

0.96 hits per line

Source Files on job 317.2
  • Tree
  • List 0
  • Changed 5
  • Source Changed 1
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 312
  • Travis Job 317.2
  • f1253650 on github
  • Prev Job for on master (#316.3)
  • Next Job for on master (#318.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

© 2025 Coveralls, Inc