old_contents: try:
      from vent.menu import HelpForm
      from vent.menu import VentApp
      from vent.menu import VentForm
  except Exception as e:
      pass
  
new_contents: import curses
  import npyscreen
  
  from vent.menu import HelpForm
  from vent.menu import VentApp
  from vent.menu import VentForm
  
  npyscreen.TEST_SETTINGS['TEST_INPUT'] = ['^X']
  npyscreen.TEST_SETTINGS['CONTINUE_AFTER_TEST_INPUT'] = False
  
  app = VentApp()
  app.run(fork=False)
  
subject: test menu