Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2 unit tests fail this is on the latest versions of everything sourced from pip #737

Closed
owenn opened this issue Sep 26, 2012 · 2 comments
Closed

Comments

@owenn
Copy link

owenn commented Sep 26, 2012

(fab1)owenn@gerana ~/fabric $ nosetests

..............................................................................................................................................................................................................................................................................................................................E....E...................

ERROR: abort() should print 'Fatal error' plus exception value

Traceback (most recent call last):
File "/home/owenn/fab1/local/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(_self.arg)
File "/home/owenn/fabric/tests/utils.py", line 149, in inner_wrapper
ret = func(_args, **kwargs)
File "/home/owenn/fab1/local/lib/python2.7/site-packages/fudge/patcher.py", line 148, in method_call
patched_obj.restore()
File "/home/owenn/fab1/local/lib/python2.7/site-packages/fudge/patcher.py", line 320, in restore
delattr(self.orig_object, self.attr_name)
AttributeError: aborts

ERROR: warn() should print 'Warning' plus given text

Traceback (most recent call last):
File "/home/owenn/fab1/local/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(_self.arg)
File "/home/owenn/fabric/tests/utils.py", line 149, in inner_wrapper
ret = func(_args, **kwargs)
File "/home/owenn/fab1/local/lib/python2.7/site-packages/fudge/patcher.py", line 148, in method_call
patched_obj.restore()
File "/home/owenn/fab1/local/lib/python2.7/site-packages/fudge/patcher.py", line 320, in restore
delattr(self.orig_object, self.attr_name)
AttributeError: warnings


Ran 343 tests in 154.059s

FAILED (errors=2)

@owenn owenn closed this as completed Sep 27, 2012
@tobarja
Copy link

tobarja commented Nov 4, 2012

Did you figure out what was wrong here? It looks like a bug in fudge(which seems abandoned).

@bitprophet
Copy link
Member

Guessing he had Fudge 1.0 or greater? I recall there being some oddball bugs when I tried upgrading past 0.9.x, which is why the requirements.txt says to use <1.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants