class_docstr: Test class for Teams
class_docstr_tok: ["Test","class","for","Teams"]
docstr: TeamsOutput - _add_additional_sections - single section
docstr_tok: ["TeamsOutput","-","_add_additional_sections","-","single","section"]
code: def test_add_additional_sections_single_section(self, log_mock):
      """TeamsOutput - _add_additional_sections - single section"""
      teams_card = Mock(addSection=Mock())
      section = Mock(spec=pymsteams.cardsection)
  
      teams_card = self._dispatcher._add_additional_sections(
          teams_card, section
      )
  
      # Tests
      teams_card.addSection.assert_called()
      teams_card.addSection.assert_called_with(section)
      log_mock.assert_not_called()
  
imports: import pymsteams
  from pymsteams import TeamsWebhookException
  from mock import MagicMock, Mock, patch, call
  from nose.tools import assert_equal, assert_false, assert_true
  from streamalert.alert_processor.helpers import compose_alert
  from streamalert.alert_processor.outputs.teams import TeamsOutput
  from tests.unit.streamalert.alert_processor.helpers import get_alert, get_random_alert
label_desc: Use image node_id 4 for calling the TestTeamsOutput obj's underlying member method code with example usage: obj.test_add_additional_sections_single_section(log_mock) without return types