          read_write_access_token = self.access_token
          read_write_access_token.scope = oauth2_provider_scope.SCOPE_NAME_DICT['write']
          read_write_access_token.save()
          auth = self._create_authorization_header(token=read_write_access_token.token)
          params = self._client_credentials_params()
          response = self.csrf_client.post('/oauth2-with-scope-test/', params, HTTP_AUTHORIZATION=auth)
          self.assertEqual(response.status_code, 200)
 
</s> remove         params = self._client_credentials_params()
        response = self.csrf_client.get('/oauth2-with-scope-test/', params, HTTP_AUTHORIZATION=auth)
 </s> add         response = self.csrf_client.get('/oauth2-with-scope-test/', HTTP_AUTHORIZATION=auth) </s> remove         response = self.csrf_client.post('/oauth2-with-scope-test/', params, HTTP_AUTHORIZATION=auth)
 </s> add         response = self.csrf_client.post('/oauth2-with-scope-test/', HTTP_AUTHORIZATION=auth) </s> remove         params = self._client_credentials_params()
        response = self.csrf_client.post('/oauth2-test/', params, HTTP_AUTHORIZATION=auth)
 </s> add         response = self.csrf_client.post('/oauth2-test/', HTTP_AUTHORIZATION=auth) </s> remove         params = self._client_credentials_params()
        response = self.csrf_client.post('/oauth2-test/', params, HTTP_AUTHORIZATION=auth)
 </s> add         response = self.csrf_client.post('/oauth2-test/', HTTP_AUTHORIZATION=auth)
        response = self.csrf_client.post('/oauth2-with-scope-test/', HTTP_AUTHORIZATION=auth)
          read_write_access_token = self.access_token
          read_write_access_token.scope = oauth2_provider_scope.SCOPE_NAME_DICT['write']
          read_write_access_token.save()
          auth = self._create_authorization_header(token=read_write_access_token.token)
        response = self.csrf_client.post('/oauth2-with-scope-test/', HTTP_AUTHORIZATION=auth)
        response = self.csrf_client.post('/oauth2-with-scope-test/', HTTP_AUTHORIZATION=auth)
          self.assertEqual(response.status_code, 200)
keep keep keep keep replace replace keep
 Remove client credentials from all OAuth 2 tests 
rest_framework/tests/authentication.py