def METHOD_NAME(self):
    """Test to add multiple tags to an event and output as json."""
    runner = CliRunner()
    result = runner.invoke(
        events_group,
        [
            "--output-format",
            "json",
            "annotate",
            "--event-id",
            "1",
            "--tag",
            "test1,test2",
            "--timeline-id",
            "1",
        ],
        obj=self.ctx,
    )
    assert "No such event" in result.output
    assert 1 is result.exit_code