Skip to content

Commit

Permalink
Make tests work standalone and in coredev.
Browse files Browse the repository at this point in the history
not really happy about this, such is life
  • Loading branch information
jaroel committed Sep 26, 2020
1 parent 8349d68 commit 2ac06bb
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -31,7 +31,6 @@ def test_controlpanels_dexterity_types_get(self):
self.assertEqual(200, response.status_code)
self.assertEqual(
[
'Plone Site',
"Collection",
"Document",
"Folder",
Expand All @@ -47,6 +46,7 @@ def test_controlpanels_dexterity_types_get(self):
for x in self.api_session.get("/@controlpanels/dexterity-types")
.json()
.get("items")
if x.get('id') != 'Plone Site'
],
)

Expand Down Expand Up @@ -103,7 +103,6 @@ def test_controlpanels_dexterity_types_document_delete(self):
self.assertEqual(204, response.status_code)
self.assertEqual(
[
"Plone Site",
"Collection",
"Folder",
"Link",
Expand All @@ -118,5 +117,6 @@ def test_controlpanels_dexterity_types_document_delete(self):
for x in self.api_session.get("/@controlpanels/dexterity-types")
.json()
.get("items")
if x.get("id") != "Plone Site"
],
)

0 comments on commit 2ac06bb

Please sign in to comment.