code: def test_main():
      response = client.get("/")
      assert response.status_code == 200, response.text
      assert b"<!DOCTYPE html>" in response.content
  
imports: import pytest
  from fastapi.testclient import TestClient
  from fastapi.websockets import WebSocketDisconnect
  from docs_src.websockets.tutorial001 import app
label_desc: Use image node_id 1 for calling a global function with example usage: test_main() without return types