class_docstr: Simulate user clicking [OK] button.
class_docstr_tok: ["Simulate","user","clicking","[","OK","]","button","."]
code: def setUpClass(cls):
      requires("gui")
      cls.root = Tk()
      cls.root.withdraw()
      cls.dialog = config_key.GetKeysWindow(
          cls.root, "Title", "<<Test>>", [], _utest=True
      )
  
imports: from idlelib import config_key
  from test.support import requires
  import unittest
  from unittest import mock
  from tkinter import Tk, TclError
  from idlelib.idle_test.mock_idle import Func
  from idlelib.idle_test.mock_tk import Mbox_func
label_desc: Use image node_id 1 for calling the OKWindowTest obj's underlying member method code with example usage: obj.setUpClass(cls) without return types