Git Product home page Git Product logo

fauxquests's People

Contributors

lukesneeringer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

fauxquests's Issues

stop called on unstarted patcher

======================================================================
ERROR: test_fauxquests (test_integration.IntegrationTests)
Ensure that a standard request registration and mock out
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/brain/rpmbuild/BUILD/fauxquests-16d1f71547279fc7862c4b6597fab5524f70b082/tests/test_integration.py", line 21, in test_fauxquests
    self.assertEqual(result.content.decode('utf8'), 'blahblah')
  File "/home/brain/rpmbuild/BUILD/fauxquests-16d1f71547279fc7862c4b6597fab5524f70b082/fauxquests/session.py", line 42, in __exit__
    return self.stop()
  File "/home/brain/rpmbuild/BUILD/fauxquests-16d1f71547279fc7862c4b6597fab5524f70b082/fauxquests/session.py", line 105, in stop
    self.patcher.stop()
  File "/usr/lib/python2.7/site-packages/mock/mock.py", line 1513, in stop
    return self.__exit__()
  File "/usr/lib/python2.7/site-packages/mock/mock.py", line 1477, in __exit__
    raise RuntimeError('stop called on unstarted patcher')
RuntimeError: stop called on unstarted patcher

======================================================================
ERROR: test_method_match (test_integration.IntegrationTests)
Ensure that a method-specific registration is honored,
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/brain/rpmbuild/BUILD/fauxquests-16d1f71547279fc7862c4b6597fab5524f70b082/tests/test_integration.py", line 44, in test_method_match
    result = requests.get('http://www.google.com/')
  File "/home/brain/rpmbuild/BUILD/fauxquests-16d1f71547279fc7862c4b6597fab5524f70b082/fauxquests/session.py", line 42, in __exit__
    return self.stop()
  File "/home/brain/rpmbuild/BUILD/fauxquests-16d1f71547279fc7862c4b6597fab5524f70b082/fauxquests/session.py", line 105, in stop
    self.patcher.stop()
  File "/usr/lib/python2.7/site-packages/mock/mock.py", line 1513, in stop
    return self.__exit__()
  File "/usr/lib/python2.7/site-packages/mock/mock.py", line 1477, in __exit__
    raise RuntimeError('stop called on unstarted patcher')
RuntimeError: stop called on unstarted patcher

======================================================================
ERROR: test_unregistered (test_integration.IntegrationTests)
Ensure that an unregistered URL fails in the way we expect,
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/brain/rpmbuild/BUILD/fauxquests-16d1f71547279fc7862c4b6597fab5524f70b082/tests/test_integration.py", line 29, in test_unregistered
    result = requests.get('http://www.google.com/')
  File "/home/brain/rpmbuild/BUILD/fauxquests-16d1f71547279fc7862c4b6597fab5524f70b082/fauxquests/session.py", line 42, in __exit__
    return self.stop()
  File "/home/brain/rpmbuild/BUILD/fauxquests-16d1f71547279fc7862c4b6597fab5524f70b082/fauxquests/session.py", line 105, in stop
    self.patcher.stop()
  File "/usr/lib/python2.7/site-packages/mock/mock.py", line 1513, in stop
    return self.__exit__()
  File "/usr/lib/python2.7/site-packages/mock/mock.py", line 1477, in __exit__
    raise RuntimeError('stop called on unstarted patcher')
RuntimeError: stop called on unstarted patcher

assert_called_once

======================================================================
ERROR: test_release_conn (test_resp.RespTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/brain/rpmbuild/BUILD/fauxquests-16d1f71547279fc7862c4b6597fab5524f70b082/tests/test_resp.py", line 18, in test_release_conn
    m.assert_called_once()
  File "/usr/lib64/python3.5/unittest/mock.py", line 583, in __getattr__
    raise AttributeError(name)
AttributeError: assert_called_once

Python 3.5.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.