Skip to content

Commit e8ddd07

Browse files
committed
Revise Tests for 2025b Onboarding: PandocMissing
1 parent 89f9356 commit e8ddd07

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tests/containers/workbenches/jupyterlab/jupyterlab_test.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,13 @@ def test_spinner_html_loaded(self, jupyterlab_image: conftest.Image) -> None:
5757
@allure.description("Check that PDF export is working correctly")
5858
def test_pdf_export(self, jupyterlab_image: conftest.Image) -> None:
5959
container = WorkbenchContainer(image=jupyterlab_image.name, user=4321, group_add=[0])
60-
# Skip if we're running on s390x architecture
60+
# Skip if we're running architectures where PDF export is not supported
6161
container.start(wait_for_readiness=False)
6262
try:
6363
exit_code, arch_output = container.exec(["uname", "-m"])
64-
if exit_code == 0 and arch_output.decode().strip() == "s390x":
65-
pytest.skip("PDF export functionality is not supported on s390x architecture")
64+
arch = arch_output.decode().strip()
65+
if exit_code == 0 and arch in ("s390x", "ppc64le"):
66+
pytest.skip("PDF export functionality is not supported on s390x/ppc64le architecture")
6667
finally:
6768
docker_utils.NotebookContainer(container).stop(timeout=0)
6869
test_file_name = "test.ipybn"

0 commit comments

Comments
 (0)