mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-07 10:04:03 +00:00
19 lines
511 B
Python
19 lines
511 B
Python
# Copyright (c) Jupyter Development Team.
|
|
# Distributed under the terms of the Modified BSD License.
|
|
|
|
import logging
|
|
|
|
from tests.conftest import TrackedContainer
|
|
|
|
LOGGER = logging.getLogger(__name__)
|
|
|
|
|
|
def test_pandoc(container: TrackedContainer) -> None:
|
|
"""Pandoc shall be able to convert MD to HTML."""
|
|
logs = container.run_and_wait(
|
|
timeout=10,
|
|
tty=True,
|
|
command=["start.sh", "bash", "-c", 'echo "**BOLD**" | pandoc'],
|
|
)
|
|
assert "<p><strong>BOLD</strong></p>" in logs
|