code: def test_sso_login_when_already_authenticated(self, mock_post):
      mock_resp = self._mock_response(
          json_data={
              "status": "OK",
              "message": "User already authenticated",
              "data": {
                  #'state': 'xxuixld',
                  "token": "123",
              },
          }
      )
      mock_post.return_value = mock_resp
  
      au = ArrowUploader()
  
      au.sso_login(org_name="mock-org", idp_name="mock-idp")
      # assert au.sso_state == 'xxuixld'
      assert au.token == "123"
  
imports: import graphistry, mock, pandas, pytest, unittest
  from graphistry import ArrowUploader
  from graphistry.pygraphistry import PyGraphistry
label_desc: Use image node_id 8 for calling the TestArrowUploader_Comms obj's underlying member method code with example usage: obj.test_sso_login_when_already_authenticated(mock_post) without return types