class_docstr: Test columns.
class_docstr_tok: ["Test","columns","."]
docstr: Test that it works correctly with "medium" gap argument
docstr_tok: ["Test","that","it","works","correctly","with","``","medium","''","gap","argument"]
code: def test_columns_with_medium_gap(self):
      """Test that it works correctly with "medium" gap argument"""
  
      columns = st.columns(3, gap="medium")
  
      all_deltas = self.get_all_deltas_from_queue()
  
      horizontal_block = all_deltas[0]
      columns_blocks = all_deltas[1:4]
  
      # 4 elements will be created: 1 horizontal block, 3 columns, each receives "medium" gap arg
      self.assertEqual(len(all_deltas), 4)
      self.assertEqual(
          horizontal_block.add_block.horizontal.gap, "medium"
      )
      self.assertEqual(columns_blocks[0].add_block.column.gap, "medium")
      self.assertEqual(columns_blocks[1].add_block.column.gap, "medium")
      self.assertEqual(columns_blocks[2].add_block.column.gap, "medium")
  
imports: import streamlit
  from streamlit.errors import StreamlitAPIException
  from tests.delta_generator_test_case import DeltaGeneratorTestCase
label_desc: Use image node_id 5 for calling the ColumnsTest obj's underlying member method code with example usage: obj.test_columns_with_medium_gap() without return types