'_htest - bool, change box location when running htest'

def __init__(self, parent, title, _htest=False):

    Toplevel.__init__(self, parent)
    self.configure(borderwidth=5)
    self.geometry(('+%d+%d' % ((parent.winfo_rootx() + 30), (parent.winfo_rooty() + (30 if (not _htest) else 100)))))
    self.bg = '#707070'
    self.fg = '#ffffff'
    self.CreateWidgets()
    self.resizable(height=FALSE, width=FALSE)
    self.title(title)
    self.transient(parent)
    self.grab_set()
    self.protocol('WM_DELETE_WINDOW', self.Ok)
    self.parent = parent
    self.buttonOk.focus_set()
    self.bind('<Return>', self.Ok)
    self.bind('<Escape>', self.Ok)
    self.wait_window()
