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

tcalmant / jsonrpclib / 100
83%

Build:
DEFAULT BRANCH: master
Ran 27 Jun 2017 07:46AM UTC
Jobs 5
Files 8
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
100

push

travis-ci

tcalmant
jsonrpc: Don't proxy "special" methods

Code that expects ServerProxy objects to be regular python objects can
trigger bogus rpc calls by accessing "special" methods (i.e. methods
starting and ending with two underscores). Avoid this by raising
AttributeError for such names instead of returning a method proxy.

A real life example for this is the "raven" sentry client calling
`__getattribute__('__sentry__')` on a ServerProxy instance when
reporting an exception.

936 of 1114 relevant lines covered (84.02%)

4.08 hits per line

Jobs
ID Job ID Ran Files Coverage
1 100.1 (TOX_ENV=py27) 27 Jun 2017 07:47AM UTC 0
82.05
Travis Job 100.1
2 100.2 (TOX_ENV=py33) 27 Jun 2017 07:48AM UTC 0
81.42
Travis Job 100.2
3 100.3 (TOX_ENV=py34) 27 Jun 2017 07:46AM UTC 0
81.42
Travis Job 100.3
4 100.4 (TOX_ENV=py35) 27 Jun 2017 07:47AM UTC 0
81.42
Travis Job 100.4
5 100.5 (TOX_ENV=pypy) 27 Jun 2017 07:48AM UTC 0
81.96
Travis Job 100.5
Source Files on build 100
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #100
  • 1b6feb3c on github
  • Prev Build on master (#98)
  • Next Build on master (#101)
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