docstr: Annotation API: Test get annotation not found
docstr_tok: ["Annotation","API",":","Test","get","annotation","not","found"]
code: def test_get_annotation_not_found(self):
      """
      Annotation API: Test get annotation not found
      """
      layer = self.get_layer_with_annotation()
      max_id = db.session.query(func.max(Annotation.id)).scalar()
      self.login(username="admin")
      uri = (
          f"api/v1/annotation_layer/{layer.id}/annotation/{max_id + 1}"
      )
      rv = self.get_assert_metric(uri, "get")
      assert rv.status_code == 404
  
imports: import json
  import pytest
  import prison
  from sqlalchemy.sql import func
  import tests.integration_tests.test_app
  from superset import db
  from superset.models.annotations import Annotation, AnnotationLayer
  from tests.integration_tests.base_tests import SupersetTestCase
  from tests.integration_tests.annotation_layers.fixtures import create_annotation_layers, get_end_dttm, get_start_dttm
  from tests.unit_tests.annotation_layers.fixtures import START_STR, END_STR
label_desc: Use image node_id 21 for calling the TestAnnotationLayerApi obj's underlying member method code with example usage: obj.test_get_annotation_not_found() without return types