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

AdvancedClimateSystems / uModbus / 317
96%

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

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.

849 of 886 relevant lines covered (95.82%)

5.75 hits per line

Jobs
ID Job ID Ran Files Coverage
1 317.1 27 Jul 2020 07:10AM UTC 0
96.08
Travis Job 317.1
2 317.2 27 Jul 2020 07:10AM UTC 0
95.83
Travis Job 317.2
3 317.3 27 Jul 2020 07:10AM UTC 0
95.83
Travis Job 317.3
4 317.4 27 Jul 2020 07:10AM UTC 0
95.83
Travis Job 317.4
5 317.5 27 Jul 2020 07:10AM UTC 0
95.83
Travis Job 317.5
6 317.6 27 Jul 2020 07:11AM UTC 0
96.05
Travis Job 317.6
Source Files on build 317
  • Tree
  • List 15
  • Changed 7
  • Source Changed 2
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #317
  • f1253650 on github
  • Prev Build on master (#316)
  • Next Build on master (#318)
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