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

ni / nixnet-python / 326
68%

Build:
DEFAULT BRANCH: master
Ran 26 Jul 2017 07:04PM UTC
Jobs 5
Files 43
Run time 2min
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
326

Pull #144

travis-ci

web-flow
feat(API): Simplify read/write calls

nixnet will now automatically adapt Frame `read`/`write` calls based on
the data being transfered rather than requiring per-frame-type read/write
calls (like `read_can`/`write_can`).

This will help when adding special frame types.  Without this change, they
would have been interpreted as `CanFrame` which would provide weird
results unless someone thought to check `frame.type` and then they'd have
to go through hoops to get it into the correct frame object to interpret
it correctly.

This lowers the visibility of `read_raw`/`write_raw` in the API which
should only be used for some specific advanced cases anyways (arbitrary
data logging).

BREAKING CHANGE:

`read_can` has been replaced by `read`.  If the session reads non-CAN
frames (see special frame types), then those will be included in returned
data but will not be misinterpreted.

`read_raw` has been replaced by `read(..., frame_type=types.RawFrame)`.

`write_can` and `write_frame` have been replaced by `write`.
Pull Request #144: feat(API): Simplify read/write calls

59 of 59 new or added lines in 5 files covered. (100.0%)

3546 of 5585 relevant lines covered (63.49%)

3.17 hits per line

Uncovered Changes

Lines Coverage ∆ File
17
100.0
nixnet/types.py
2
100.0
nixnet/_session/frames.py

Coverage Regressions

Lines Coverage ∆ File
16
100.0
nixnet/_session/frames.py
5
100.0
nixnet/types.py
Jobs
ID Job ID Ran Files Coverage
1 326.1 26 Jul 2017 07:04PM UTC 0
63.49
Travis Job 326.1
2 326.2 26 Jul 2017 07:05PM UTC 0
63.46
Travis Job 326.2
3 326.3 26 Jul 2017 07:06PM UTC 0
63.46
Travis Job 326.3
5 326.5 26 Jul 2017 07:05PM UTC 0
63.47
Travis Job 326.5
6 326.6 26 Jul 2017 07:07PM UTC 0
63.44
Travis Job 326.6
Source Files on build 326
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #326
  • Pull Request #144
  • PR Base - master (#324)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc