Skip to content

Commit

Permalink
code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
cekk committed Aug 28, 2024
1 parent 10734df commit 854a2a4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
9 changes: 6 additions & 3 deletions src/iosanita/contenttypes/restapi/types/configure.zcml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<configure xmlns="http://namespaces.zope.org/zope"
xmlns:zcml="http://namespaces.zope.org/zcml" i18n_domain="plone.restapi">
<configure
xmlns="http://namespaces.zope.org/zope"
xmlns:zcml="http://namespaces.zope.org/zcml"
i18n_domain="plone.restapi"
>

<adapter factory=".adapters.DataGridRowJsonSchemaProvider" />
<adapter factory=".adapters.DataGridRowJsonSchemaProvider" />

</configure>
10 changes: 2 additions & 8 deletions src/iosanita/contenttypes/tests/test_custom_indexes.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,12 @@
"""Setup tests for this package."""
from iosanita.contenttypes.testing import INTEGRATION_TESTING
from plone import api
from plone.app.dexterity.behaviors.metadata import IDublinCore
from plone.app.testing import setRoles
from plone.app.testing import SITE_OWNER_NAME
from plone.app.testing import SITE_OWNER_PASSWORD
from plone.app.testing import TEST_USER_ID
from plone.namedfile.file import NamedBlobFile
from plone.restapi.interfaces import ISerializeToJson
from plone.restapi.testing import RelativeSession
from zope.component import getMultiAdapter
from zope.event import notify
from zope.lifecycleevent import ObjectModifiedEvent
from plone.app.dexterity.behaviors.metadata import IDublinCore
from zope.lifecycleevent import Attributes
from zope.lifecycleevent import ObjectModifiedEvent

import unittest

Expand Down

0 comments on commit 854a2a4

Please sign in to comment.