def METHOD_NAME(self):
    """Test that outputs are also sanitized properly"""
    preprocessor = self.build_preprocessor()
    nb = self.build_notebook()
    outputs = [
        nbformat.new_output(
            "display_data",
            data={
                "text/plain": "b",
                "text/html": "<script>more evil</script>",
                "text/css": "<style> * {display:none}</style>",
            },
        ),
        nbformat.new_output("stream", name="stdout", text="wat"),
        nbformat.new_output("stream", name="stdout", text="<script>Evil tag</script>"),
    ]
    nb.cells[0].outputs = outputs
    res = self.build_resources()
    nb, res = preprocessor(nb, res)
    expected_output = [
        {
            "data": {"text/html": "&lt;script&gt;more evil&lt;/script&gt;", "text/plain": "b"},
            "metadata": {},
            "output_type": "display_data",
        },
        {"name": "stdout", "output_type": "stream", "text": "wat"},
        {"name": "stdout", "output_type": "stream", "text": "<script>Evil tag</script>"},
    ]
    self.assertEqual(nb.cells[0].outputs, expected_output)