Skip to content

Commit 3437f07

Browse files
committed
Fixing tests.
1 parent fbb57be commit 3437f07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

oauth2_provider/tests/test_authorization_code.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ def test_refresh_repeating_requests_non_rotating_tokens(self):
500500
'scope': content['scope'],
501501
}
502502

503-
with mock.patch('oauthlib.request_validator.RequestValidator.rotate_refresh_token', return_value=False):
503+
with mock.patch('oauthlib.oauth2.rfc6749.request_validator.RequestValidator.rotate_refresh_token', return_value=False):
504504
response = self.client.post(reverse('oauth2_provider:token'), data=token_request_data, **auth_headers)
505505
self.assertEqual(response.status_code, 200)
506506
response = self.client.post(reverse('oauth2_provider:token'), data=token_request_data, **auth_headers)

0 commit comments

Comments
 (0)