unit tests fail: exceptions.TypeError: 'NoneType' object is not callable

Bug #682810 reported by Zooko Wilcox-O'Hearn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
txOAuth
New
Undecided
Unassigned

Bug Description

I did bzr get lp:txoauth, then cd txoauth, then trial txoauth. It failed:

Ran 146 tests in 0.329s

FAILED (errors=11, successes=135)

The failing tests are:

===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/Users/zooko/playground/txoauth/txoauth/test/test_clientcred.py", line 302, in test_simple_authorizationHeader
    self._test_adaptation(simpleAuthHeaderRequest)
  File "/Users/zooko/playground/txoauth/txoauth/test/test_clientcred.py", line 274, in _test_adaptation
    c = self.factory(request)
exceptions.TypeError: 'NoneType' object is not callable

txoauth.test.test_clientcred._SpecificationTests.test_simple_authorizationHeader
===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/Users/zooko/playground/txoauth/txoauth/test/test_clientcred.py", line 314, in test_simple_fromSpecification_first
    self._test_adaptation(firstSpecificationRequest)
  File "/Users/zooko/playground/txoauth/txoauth/test/test_clientcred.py", line 274, in _test_adaptation
    c = self.factory(request)
exceptions.TypeError: 'NoneType' object is not callable

txoauth.test.test_clientcred._SpecificationTests.test_simple_fromSpecification_first
===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/Users/zooko/playground/txoauth/txoauth/test/test_clientcred.py", line 322, in test_simple_fromSpecification_second
    self._test_adaptation(secondSpecificationRequest)
  File "/Users/zooko/playground/txoauth/txoauth/test/test_clientcred.py", line 274, in _test_adaptation
    c = self.factory(request)
exceptions.TypeError: 'NoneType' object is not callable

txoauth.test.test_clientcred._SpecificationTests.test_simple_fromSpecification_second
===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/Users/zooko/playground/txoauth/txoauth/test/test_clientcred.py", line 306, in test_simple_urlEncoded_identifierAndSecret
    self._test_adaptation(simpleURLEncodedRequestWithSecret)
  File "/Users/zooko/playground/txoauth/txoauth/test/test_clientcred.py", line 274, in _test_adaptation
    c = self.factory(request)
exceptions.TypeError: 'NoneType' object is not callable

txoauth.test.test_clientcred._SpecificationTests.test_simple_urlEncoded_identifierAndSecret
===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/Users/zooko/playground/txoauth/txoauth/test/test_token.py", line 18, in setUp
    self.tokenRequest = self._buildTokenRequest()
  File "/Users/zooko/playground/txoauth/txoauth/test/test_token.py", line 22, in _buildTokenRequest
    return self.implementer(self.credentials, *self.args, **self.kwargs)
exceptions.TypeError: 'NoneType' object is not callable

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.