import tempfile


def GenericSetup(test_name):
  """Generic setup for running one test.

  Args:
    test_name: The name of a test that is about to be run.

  Returns:
    user_dir: Absolute path to user data dir created for the test.
  """
  user_dir = tempfile.mkdtemp(prefix=test_name + '.')
  return user_dir