def METHOD_NAME(self, preprocessor):
    """Check that an error is raised when a markdown cell is only marked as solution"""
    nb = self._read_nb(os.path.join("files", "bad-markdown-cell-2.ipynb"), validate=False)
    with pytest.raises(ValidationError):
        preprocessor.preprocess(nb, {})