code: def test_validate_auth_returns_bad_request_for_invalid_header(
      bot_framework_input: BotFrameworkInput,
  ):
      resp = bot_framework_input._validate_auth("Bearer invalid")
      assert resp is not None
      assert resp.status == HTTPStatus.UNAUTHORIZED
      assert resp.body.decode() == "Could not validate JWT token."
  
imports: import json
  import time
  from http import HTTPStatus
  from unittest import mock
  from unittest.mock import Mock
  import freezegun
  import jwt
  import pytest
  from _pytest.logging import LogCaptureFixture
  from cryptography.hazmat.primitives.asymmetric import rsa
  from cryptography.hazmat.primitives.asymmetric.rsa import RSAPrivateKey
  from jwt.algorithms import RSAAlgorithm
  from rasa.core.channels import BotFrameworkInput
label_desc: Use image node_id 8 for calling a global function with example usage: test_validate_auth_returns_bad_request_for_invalid_header(bot_framework_input) without return types