code: def test_good_name(self):
      self.dialog.name.set("  good ")
      showerror.title = "No Error"  # should not be called
      self.assertEqual(self.dialog.name_ok(), "good")
      self.assertEqual(showerror.title, "No Error")
  
file_path: catboost/contrib/tools/python/src/Lib/idlelib/idle_test/test_config_name.py
imports: import unittest
  from idlelib.idle_test.mock_tk import Var, Mbox
  from idlelib import configSectionNameDialog
label_desc: Use image node_id 6 for calling the ConfigNameTest obj's underlying member method code with example usage: obj.test_good_name() without return types