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

jamielennox / requests-mock / 44 / 4
97%
master: 97%

Build:
DEFAULT BRANCH: master
Ran 13 Dec 2014 06:45PM UTC
Files 7
Run time 4s
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

13 Dec 2014 06:43PM UTC coverage: 96.923% (-0.1%) from 97.068%
44.4

Pull #4

travis-ci

prmtl
Allow to decorate class with mock

Now it is possible to mock not only a function but also a class:

  class TestClass(object)

    def test_func_a(self, m):
        m.register_uri('GET', 'http://test.com', text='data')
        ...

    def test_func_b(self, m)
        m.register_uri('GET', 'http://test.com', text='data')
        ...

This new behavior mimics behavior of `patch` from `mock` library.
Pull Request #4: [WIP] Allow to decorate class with mock

315 of 325 relevant lines covered (96.92%)

0.97 hits per line

Source Files on job 44.4
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 44
  • Travis Job 44.4
  • 19412339 on github
  • Prev Job for on master (#41.4)
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