docstr: Test st.audio using fake audio bytes.
docstr_tok: ["Test","st.audio","using","fake","audio","bytes","."]
code: def test_st_audio_from_bytes(self):
      """Test st.audio using fake audio bytes."""
  
      # Fake audio data: expect the resultant mimetype to be audio default.
      fake_audio_data = "\x11\x22\x33\x44\x55\x66".encode("utf-8")
  
      st.audio(fake_audio_data)
  
      el = self.get_delta_from_queue().new_element
  
      # locate resultant file in InMemoryFileManager and test its properties.
      file_id = _calculate_file_id(fake_audio_data, "audio/wav")
      media_file = self.media_file_storage.get_file(file_id)
      self.assertIsNotNone(media_file)
      self.assertEqual(media_file.mimetype, "audio/wav")
      self.assertEqual(
          self.media_file_storage.get_url(file_id), el.audio.url
      )
  
imports: import io
  import os
  from io import BytesIO
  import numpy
  from parameterized import parameterized
  from scipy.io import wavfile
  import streamlit
  from streamlit.elements.media import _maybe_convert_to_wav_bytes
  from streamlit.errors import StreamlitAPIException
  from streamlit.proto.Alert_pb2 import Alert
  from streamlit.runtime.media_file_storage import MediaFileStorageError
  from streamlit.runtime.memory_media_file_storage import _calculate_file_id
  from streamlit.web.server.server import MEDIA_ENDPOINT
  from tests.delta_generator_test_case import DeltaGeneratorTestCase
label_desc: Use image node_id 1 for calling the AudioTest obj's underlying member method code with example usage: obj.test_st_audio_from_bytes() without return types