TypeError: get_oauth_params() takes exactly 2 arguments (1 given)

Bug #1328419 reported by Ionuț Arțăriși
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-keystoneclient
New
Undecided
Unassigned

Bug Description

Traceback from jenkins run: http://logs.openstack.org/63/96763/2/check/gate-python-keystoneclient-python26/4a8209a/console.html

2014-06-09 12:26:34.437 | ======================================================================
2014-06-09 12:26:34.438 | FAIL: keystoneclient.tests.v3.test_oauth1.RequestTokenTests.test_create_request_token
2014-06-09 12:26:34.438 | tags: worker-6
2014-06-09 12:26:34.438 | ----------------------------------------------------------------------
2014-06-09 12:26:34.438 | pythonlogging:'': {{{
2014-06-09 12:26:34.438 | Collected params: [(u'oauth_nonce', u'88754197744283774331234'), (u'oauth_timestamp', u'1234'), (u'oauth_consumer_key', u'4fa1f1865736494685e57f95e2b7549c'), (u'oauth_signature_method', u'HMAC-SHA1'), (u'oauth_version', u'1.0'), (u'oauth_callback', u'oob')]
2014-06-09 12:26:34.438 | Normalized params: oauth_callback=oob&oauth_consumer_key=4fa1f1865736494685e57f95e2b7549c&oauth_nonce=88754197744283774331234&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1234&oauth_version=1.0
2014-06-09 12:26:34.438 | Normalized URI: http://127.0.0.1:5000/v3/OS-OAUTH1/request_token
2014-06-09 12:26:34.438 | Base signing string: POST&http%3A%2F%2F127.0.0.1%3A5000%2Fv3%2FOS-OAUTH1%2Frequest_token&oauth_callback%3Doob%26oauth_consumer_key%3D4fa1f1865736494685e57f95e2b7549c%26oauth_nonce%3D88754197744283774331234%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1234%26oauth_version%3D1.0
2014-06-09 12:26:34.438 | Signature: hOmoJvyeT8yXvPKhdXyMna/ubuk=
2014-06-09 12:26:34.438 | REQ: curl -i -X POST http://127.0.0.1:5000/v3/OS-OAUTH1/request_token -H "User-Agent: python-keystoneclient" -H "Authorization: OAuth oauth_nonce="88754197744283774331234", oauth_timestamp="1234", oauth_version="1.0", oauth_signature_method="HMAC-SHA1", oauth_consumer_key="4fa1f1865736494685e57f95e2b7549c", oauth_callback="oob", oauth_signature="hOmoJvyeT8yXvPKhdXyMna%2Fubuk%3D"" -H "requested_project_id: 4dd2201b6d514168ada0cc27a91956c2" -H "X-Auth-Token: aToken"
2014-06-09 12:26:34.438 | Starting new HTTP connection (1): 127.0.0.1
2014-06-09 12:26:34.439 | "POST /v3/OS-OAUTH1/request_token HTTP/1.1" 201 98
2014-06-09 12:26:34.439 | RESP: [201] {'status': '201', 'content-length': '98', 'server': 'Python/HTTPretty', 'connection': 'close', 'date': 'Mon, 09 Jun 2014 12:26:31 GMT', 'content-type': 'application/x-www-form-urlencoded'}
2014-06-09 12:26:34.439 | RESP BODY: "oauth_token=ec34bb6892e44d1abfd54f228d8359c7&oauth_token_secret=9f74e3a2739b4068ad76a9653c230eb3"
2014-06-09 12:26:34.439 | }}}
2014-06-09 12:26:34.439 |
2014-06-09 12:26:34.439 | Traceback (most recent call last):
2014-06-09 12:26:34.439 | File "/home/jenkins/workspace/gate-python-keystoneclient-python26/.tox/py26/lib/python2.6/site-packages/httpretty/core.py", line 1013, in wrapper
2014-06-09 12:26:34.439 | return test(*args, **kw)
2014-06-09 12:26:34.439 | File "keystoneclient/tests/v3/test_oauth1.py", line 188, in test_create_request_token
2014-06-09 12:26:34.439 | oauth_client)
2014-06-09 12:26:34.439 | File "keystoneclient/tests/v3/test_oauth1.py", line 105, in _validate_oauth_headers
2014-06-09 12:26:34.440 | header_params = oauth_client.get_oauth_params()
2014-06-09 12:26:34.440 | TypeError: get_oauth_params() takes exactly 2 arguments (1 given)

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.