def METHOD_NAME():
    url_base = 'wss://' + CATTLE_TEST_URL[8:] + \
               '/k8s/clusters/' + namespace["cluster"].id + \
               '/api/v1/namespaces/' + namespace["ns"] + \
               '/pods/' + namespace["pod"].name + \
               '/log?container=' + namespace["pod"].containers[0].name
    params_dict = {
        "tailLines": 500,
        "follow": True,
        "timestamps": True,
        "previous": False,
    }
    params = urllib.parse.urlencode(params_dict, doseq=True,
                                    quote_via=urllib.parse.quote, safe='()')
    url = url_base + "&" + params
    ws = create_connection(url, ["base64.binary.k8s.io"])
    logparse = WebsocketLogParse()
    logparse.start_thread(target=logparse.receiver, args=(ws, False))
    print('\noutput:\n' + logparse.last_message + '\n')
    assert 'websocket' in logparse.last_message, \
        "failed to view logs"
    logparse.last_message = ''
    ws.close()