Skip to content

Commit

Permalink
blacked file
Browse files Browse the repository at this point in the history
  • Loading branch information
boulch committed Jun 23, 2021
1 parent 972e641 commit 5d6c7a2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/imio/smartweb/core/tests/test_footer.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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)

0 comments on commit 5d6c7a2

Please sign in to comment.