JordanMilne / Advocate

An SSRF-preventing wrapper around Python's requests library. Advocate is no longer maintained, please fork and rename if you would like to continue work on it.
Other
92 stars 17 forks source link

Tests are broken with `setup.py test` #1

Closed JordanMilne closed 8 years ago

JordanMilne commented 8 years ago

They work fine with nosetests, need to look into this.

======================================================================
ERROR: test_response_iter_lines_reentrant (test_advocate.RequestsTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/functools.py", line 33, in update_wrapper
    setattr(wrapper, attr, getattr(wrapped, attr))
AttributeError: 'RequestsTestCase' object has no attribute '__name__'

----------------------------------------------------------------------