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

google / openhtf / 1892
43%
master: 63%

Build:
Build:
LAST BUILD BRANCH: test_919012532
DEFAULT BRANCH: master
Ran 14 May 2018 09:03PM UTC
Jobs 1
Files 61
Run time 6s
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
1892

push

travis-ci

Kenneth Schiller
OpenHTF: Guess mimetype from attachment name.

Rationale: In attach_from_file() we try to guess mimetype from the source filename. It has sometimes surprised users that the mimetype is not inferred from the attachment name as well.

TESTED=
Before: `complete_test_output.txt` gets `type: BINARY` (integer=5)
e.g. https://www.mfg-inspector.com/pr/chauffeur/testrun/chauffeur/QQABTkEAAQYBY0GFCrI=.raw
After: `complete_test_output.txt` gets `type: TEXT_UTF8` (integer=7)
e.g. https://www.mfg-inspector.com/pr/chauffeur/testrun/chauffeur/QQABTkEAAQYBY0arU1Q=.raw

The attachment `complete_test_output.txt` is attached using `test.attach_from_file(open_file.name, 'complete_test_output.txt')`. (In this case, open_file.name is something like `/tmp/asdfljk` and has no extension.)
https://cs.corp.google.com/piper///depot/google3/third_party/car/hw/testing/framework/logs.py?rcl=195879010&l=125

PiperOrigin-RevId: 196022999

454 of 454 new or added lines in 3 files covered. (100.0%)

2377 of 5535 relevant lines covered (42.94%)

0.43 hits per line

Uncovered Changes

Lines Coverage ∆ File
380
100.0
openhtf/core/station_api.py
66
100.0
openhtf/core/history.py
Jobs
ID Job ID Ran Files Coverage
1 1892.1 (TOXENV=py27) 14 May 2018 09:04PM UTC 0
42.94
Travis Job 1892.1
Source Files on build 1892
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1892
  • 567c4f75 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

© 2026 Coveralls, Inc