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

TheTorProject / ooni-probe / 1281 / 10
68%
master: 71%

Build:
Build:
LAST BUILD BRANCH: feature/cloud-fronted-collectors
DEFAULT BRANCH: master
Ran 17 Nov 2015 12:42PM UTC
Files 60
Run time 8s
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

17 Nov 2015 12:34PM UTC coverage: 67.357%. First build
TWISTED=Twisted==15.1.0

push

travis-ci

anadahz
fix 'Headers' object has not attribute 'getDiff' warning

This warning was reported by @anadahz in #401. I investigated: it turns
out that `headers_a` sometimes is Twisted's headers and sometimes is the
headers wrapper by OONI. The latter has `getDiff()` while the former
has not, hence the above mentioning warning arises.

It is beyond my understanding of how OONI works to figure out why sometimes
`headers_a` is of one type and sometimes is of another type.

Maybe @hellais knows why this is the case?

My empirical understanding of the matter (after running one whole deck) is
that `headers_b` is always the OONI wrapper and so always implements the
`getDiff()` function. Therefore, I fixed the issue by swapping `headers_a`
and `headers_b` in that piece of code.

3415 of 5070 relevant lines covered (67.36%)

0.67 hits per line

Source Files on job 1281.10 (TWISTED=Twisted==15.1.0)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1281
  • Travis Job 1281.10
  • 24edfbb2 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