class_docstr: Test class for GithubOutput
class_docstr_tok: ["Test","class","for","GithubOutput"]
docstr: GithubOutput - Dispatch Success with Labels
docstr_tok: ["GithubOutput","-","Dispatch","Success","with","Labels"]
code: def test_dispatch_success_with_labels(self, url_mock, log_mock):
      """GithubOutput - Dispatch Success with Labels"""
      url_mock.return_value.status_code = 200
      url_mock.return_value.json.return_value = dict()
  
      assert_true(self._dispatcher.dispatch(get_alert(), self.OUTPUT))
  
      assert_equal(
          url_mock.call_args[1]["json"]["labels"], ["label1", "label2"]
      )
      log_mock.assert_called_with(
          "Successfully sent alert to %s:%s",
          self.SERVICE,
          self.DESCRIPTOR,
      )
  
file_path: streamalert/tests/unit/streamalert/alert_processor/outputs/test_github.py
imports: import base64
  from mock import patch, Mock, MagicMock
  from nose.tools import assert_false, assert_true, assert_equal, assert_is_not_none
  from streamalert.alert_processor.outputs.github import GithubOutput
  from tests.unit.streamalert.alert_processor.helpers import get_alert
label_desc: Use image node_id 3 for calling the TestGithubOutput obj's underlying member method code with example usage: obj.test_dispatch_success_with_labels(url_mock, log_mock) without return types