diff --git a/src/imio/smartweb/core/tests/test_footer.py b/src/imio/smartweb/core/tests/test_footer.py index 2c04aa47..8633f358 100644 --- a/src/imio/smartweb/core/tests/test_footer.py +++ b/src/imio/smartweb/core/tests/test_footer.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -from imio.smartweb.core.browser.utils import UtilsView + from imio.smartweb.core.testing import IMIO_SMARTWEB_CORE_INTEGRATION_TESTING from imio.smartweb.core.testing import ImioSmartwebTestCase from imio.smartweb.core.viewlets.footer import FooterViewlet @@ -166,8 +166,8 @@ def test_has_gdpr_text(self): description="test", ) ) - records[ - "imio.gdpr.interfaces.IGDPRSettings.is_text_ready" - ] = record - api.portal.set_registry_record("imio.gdpr.interfaces.IGDPRSettings.is_text_ready", True) + records["imio.gdpr.interfaces.IGDPRSettings.is_text_ready"] = record + api.portal.set_registry_record( + "imio.gdpr.interfaces.IGDPRSettings.is_text_ready", True + ) self.assertEqual(footer.restrictedTraverse("@@has_gdpr_text")(), True)