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

Galvant / InstrumentKit / 1307
99%
main: 99%

Build:
Build:
LAST BUILD BRANCH: bf_thorlabs_apt
DEFAULT BRANCH: main
Ran 14 Sep 2020 02:11PM UTC
Jobs 3
Files 152
Run time 1min
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
1307

push

travis-ci

web-flow
Test suite and BFs for Tektronix TDS5xx (#261)

* Test suite and BFs for Tektronix TDS5xx

Test suite with full coverage
- Tests for `get_hardcopy` routine is a bit creative, but couldn't
  find any manual entry for what is done there.

Bug fixes:
- Typos
- map(float, list_of_string) not allowed anymore, switched to directly
  transferring to `np.array` with specific `dtype`.
- `flush_input` in `read_waveform` replaced with reading one character.
  Manual states that newline character is present after binary block.
- Enums called with name instead of value -> fixed, now called properly
- `get_hardcopy` routine tried to unpack read data. However, the
  `read` routine already decodes it using "utf-8" as the default
  encoding already. Thus: need to encode again before using
  `struct.unpack` to unpack them.
- Class had `import time` and `from time import sleep` and used `sleep`
  and `time.sleep`. Used `import time`, which is useful to mock out
  sleep time.

* Delete some unused setup variables I forgot to delete before

* Change `get_hardcopy` to use `read_raw` and update test.

Test still worked, but now we can use hypothesis to simulate binary
data.

12843 of 13703 relevant lines covered (93.72%)

2.81 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1307.1 14 Sep 2020 02:11PM UTC 0
93.72
Travis Job 1307.1
2 1307.2 14 Sep 2020 02:11PM UTC 0
93.72
Travis Job 1307.2
3 1307.3 14 Sep 2020 02:11PM UTC 0
94.16
Travis Job 1307.3
Source Files on build 1307
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1307
  • 77c6f0a9 on github
  • Prev Build on master (#1293)
  • Next Build on master (#1310)
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

© 2026 Coveralls, Inc