@staticmethod
def test_monkey():
    if ((os.getenv('TRAVIS') is not None) or (os.getenv('GITHUB_ACTIONS') is not None)):
        return
    app = testHelper.get_wx_app()
    main_window = asn1editor.wxPython.MainWindow()
    main_window.select_view(ViewType.GROUPS)
    test_types = [('example/example.asn', 'EXAMPLE.Sequence')]
    for (spec, type_) in test_types:
        main_window.load_spec(spec, type_)
        action_thread = threading.Thread(target=actions, args=[main_window])
        action_thread.start()
        main_window.Show()
        app.MainLoop()
        action_thread.join(timeout=0.0)
@staticmethod
def test_monkey():
    if ((os.getenv('TRAVIS') is not None) or (os.getenv('GITHUB_ACTIONS') is not None)):
        return
    app = testHelper.get_wx_app()
    main_window = asn1editor.wxPython.MainWindow()
    main_window.select_view(ViewType.GROUPS)
    test_types = [('example/example.asn', 'EXAMPLE.Sequence')]
    for (spec, type_) in test_types:
        main_window.load_spec(spec, type_)
        action_thread = threading.Thread(target=actions, args=[main_window])
        action_thread.start()
        main_window.Show()
        app.MainLoop()
        action_thread.join(timeout=0.0)