code: def test_annotation_layer_post_schema_with_name_and_descr() -> None:
      result = AnnotationLayerPostSchema().load(
          {"name": "foo", "descr": "bar"}
      )
      assert result["name"] == "foo"
      assert result["descr"] == "bar"
  
imports: import pytest
  from marshmallow.exceptions import ValidationError
  from superset.annotation_layers.annotations.schemas import AnnotationPostSchema, AnnotationPutSchema
  from superset.annotation_layers.schemas import AnnotationLayerPostSchema, AnnotationLayerPutSchema
  from tests.unit_tests.annotation_layers.fixtures import END_DTTM, END_STR, START_DTTM, START_STR
label_desc: Use image node_id 2 for calling a global function with example usage: test_annotation_layer_post_schema_with_name_and_descr() without return types