code: def test_retry_client_unit(self):
      client = SparkConnectClient("sc://foo/;token=bar")
  
      policyA = TestPolicy()
      policyB = DefaultPolicy()
  
      client.set_retry_policies([policyA, policyB])
  
      self.assertEqual(client.get_retry_policies(), [policyA, policyB])
  
imports: import unittest
  import uuid
  from collections.abc import Generator
  from typing import Optional, Any
  from pyspark.testing.connectutils import should_test_connect, connect_requirement_message
  from pyspark.testing.utils import eventually
label_desc: Use image node_id 8 for calling the SparkConnectClientTestCase obj's underlying member method code with example usage: obj.test_retry_client_unit() without return types