Skip to content

Commit

Permalink
cleaning up this test a bit - oauth_signature is not needed for a bas…
Browse files Browse the repository at this point in the history
…e test case
  • Loading branch information
tswicegood authored and simplegeo committed Jan 21, 2010
1 parent a7f9d07 commit 60870cc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/test_oauth.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,15 +365,13 @@ def test_get_normalized_parameters(self):
'oauth_consumer_key': "0685bd9184jfhq22",
'oauth_signature_method': "HMAC-SHA1",
'oauth_token': "ad180jjd733klru7",
'oauth_signature': "wOJIO9A2W5mFwDgiDvZbTSMK%2FPY%3D",
}

req = oauth.Request("GET", url, params)

res = dict(parse_qsl(req.get_normalized_parameters()))

foo = params.copy()
del foo['oauth_signature']
self.assertEquals(foo, res)

def test_sign_request(self):
Expand Down

0 comments on commit 60870cc

Please sign in to comment.