From 78f418993de6329dd6aa636c40f1c5f559f9746b Mon Sep 17 00:00:00 2001 From: Mikel Larreategi Date: Wed, 18 Oct 2023 13:12:02 +0200 Subject: [PATCH] skip multilingual tests when not installed --- src/plone/restapi/tests/test_services_navroot.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plone/restapi/tests/test_services_navroot.py b/src/plone/restapi/tests/test_services_navroot.py index 28bc3944a..0e2e7b844 100644 --- a/src/plone/restapi/tests/test_services_navroot.py +++ b/src/plone/restapi/tests/test_services_navroot.py @@ -118,6 +118,7 @@ def test_get_navroot_non_multilingual_navigation_root_content(self): portal_state.navigation_root_url(), ) + @unittest.skipUnless( PAM_INSTALLED, "plone.app.multilingual is installed by default only in Plone 5" ) # NOQA