Skip to content

Commit

Permalink
add new dependency: collective.volto.dropdownmenu
Browse files Browse the repository at this point in the history
  • Loading branch information
cekk committed Aug 27, 2024
1 parent 1221048 commit 52f94ba
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/iosanita/policy/profiles/default/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
<dependency>profile-collective.volto.enhancedlinks:default</dependency>
<dependency>profile-collective.feedback:default</dependency>
<dependency>profile-collective.volto.slimheader:default</dependency>
<dependency>profile-collective.volto.dropdownmenu:default</dependency>
</dependencies>
</metadata>
2 changes: 2 additions & 0 deletions src/iosanita/policy/testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
import iosanita.policy
import plone.app.caching
import souper.plone
import collective.volto.dropdownmenu


class TestLayer(ContentTypesTestLayer):
Expand All @@ -24,6 +25,7 @@ def setUpZope(self, app, configurationContext):
self.loadZCML(package=collective.feedback)
self.loadZCML(package=souper.plone)
self.loadZCML(package=collective.volto.slimheader)
self.loadZCML(package=collective.volto.dropdownmenu)
self.loadZCML(package=iosanita.policy, context=configurationContext)

xmlconfig.file(
Expand Down
3 changes: 0 additions & 3 deletions src/iosanita/policy/tests/test_controlpanel_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ def setUp(self):
def test_controlpanel_exists(self):
response = self.api_session.get("/@controlpanels/iosanita-settings")

import pdb

pdb.set_trace()
self.assertEqual(response.status_code, 200)
self.assertEqual(response.headers.get("Content-Type"), "application/json")

Expand Down

0 comments on commit 52f94ba

Please sign in to comment.