code: def test_robots(viewer_client):
      resp = viewer_client.get("/robots.txt", follow_redirects=True)
      assert resp.data.decode("utf-8") == "User-agent: *\nDisallow: /\n"
  
imports: from __future__ import annotations
  import pytest
  from tests.test_utils.config import conf_vars
label_desc: Use image node_id 1 for calling a global function with example usage: test_robots(viewer_client) without return types