def GetTestNamesFromSuites(test_suite):
  suites = [test_suite]
  test_names = []
  while suites:
    suite = suites.pop()
    for test in suite:
      if isinstance(test, unittest.TestSuite):
        suites.append(test)
      else:
        test_names.append(test.id()[len('gslib.tests.test_'):])
  return test_names


# pylint: disable=protected-access
# Need to get into the guts of unittest to evaluate test cases for parallelism.
Ensure that the named database is present with the specified properties.
dataset/ETHPy150Open GoogleCloudPlatform/gsutil/gslib/commands/test.py/GetTestNamesFromSuites--crossover with--dataset/ETHPy150Open saltstack/salt/salt/states/postgres_database.py/present