Skip to content

Commit 74e2f9e

Browse files
committed
broke tests reset
1 parent 3cc4c15 commit 74e2f9e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

requests_oauthlib/oauth1_session.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ def __init__(self, message, response):
3333
super(TokenRequestDenied, self).__init__(message)
3434
self.response = response
3535

36+
@property
3637
def status_code(self):
3738
"""For backwards-compatibility purposes"""
3839
return self.response.status_code
@@ -170,6 +171,7 @@ def __init__(
170171
)
171172
self.auth = self._client
172173

174+
@property
173175
def token(self):
174176
oauth_token = self._client.client.resource_owner_key
175177
oauth_token_secret = self._client.client.resource_owner_secret
@@ -189,6 +191,7 @@ def token(self):
189191
def token(self, value):
190192
self._populate_attributes(value)
191193

194+
@property
192195
def authorized(self):
193196
"""Boolean that indicates whether this session has an OAuth token
194197
or not. If `self.authorized` is True, you can reasonably expect
@@ -255,7 +258,7 @@ def authorization_url(self, url, request_token=None, **kwargs):
255258
return add_params_to_uri(url, kwargs.items())
256259

257260
def fetch_request_token(self, url, realm=None, **request_kwargs):
258-
r"""Fetch a request token.
261+
"""Fetch a request token.
259262
260263
This is the first step in the OAuth 1 workflow. A request token is
261264
obtained by making a signed post request to url. The token is then

0 commit comments

Comments
 (0)