docstr: Query API: Test get query not found
docstr_tok: ["Query","API",":","Test","get","query","not","found"]
code: def test_get_query_not_found(self):
      """
      Query API: Test get query not found
      """
      admin = self.get_user("admin")
      client_id = self.get_random_string()
      query = self.insert_query(
          get_example_database().id, admin.id, client_id
      )
      max_id = db.session.query(func.max(Query.id)).scalar()
      self.login(username="admin")
      uri = f"api/v1/query/{max_id + 1}"
      rv = self.client.get(uri)
      self.assertEqual(rv.status_code, 404)
  
      db.session.delete(query)
      db.session.commit()
  
imports: from datetime import datetime, timedelta
  from unittest import mock
  import json
  import random
  import string
  import pytest
  import prison
  from sqlalchemy.sql import func
  import tests.integration_tests.test_app
  from superset import db, security_manager
  from superset.common.db_query_status import QueryStatus
  from superset.models.core import Database
  from superset.utils.database import get_example_database, get_main_database
  from superset.models.sql_lab import Query
  from tests.integration_tests.base_tests import SupersetTestCase
label_desc: Use image node_id 5 for calling the TestQueryApi obj's underlying member method code with example usage: obj.test_get_query_not_found() without return types