code: def test_random_choice(self):
      d = [str(i) for i in range(10)]
      f = rp._random_choice(d)
      for i in range(100):
          self.assertIn(f(), d)
  
      self.assertRaises(ValueError, rp._random_choice, [])
  
file_path: auptimizer/tests/Proposer/test_RandomProposer.py
imports: import unittest
  import os
  import tempfile
  from aup.EE.Job import Job
  from aup.Proposer import RandomProposer
label_desc: Use image node_id 3 for calling the MyTestCase obj's underlying member method code with example usage: obj.test_random_choice() without return types