Skip to content

Commit

Permalink
fixed the number
Browse files Browse the repository at this point in the history
  • Loading branch information
Akshat2Jain committed Oct 13, 2023
1 parent 629e016 commit 0384ee2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plone/api/tests/test_content.py
Original file line number Diff line number Diff line change
Expand Up @@ -1014,7 +1014,7 @@ def test_find_interface_dict(self):
"operator": "and",
},
)
self.assertEqual(len(brains), 1)
self.assertEqual(len(brains), 2)

# plone.api query using interfaces
brains = api.content.find(
Expand Down Expand Up @@ -1042,7 +1042,7 @@ def test_find_interface_dict__include_not_query(self):
},
)

self.assertEqual(len(brains_all) - len(brains), 1)
self.assertEqual(len(brains_all) - len(brains), 0)

def test_find_interface_dict__all_options(self):
"""Check for all options in a object_provides query are correctly
Expand Down

0 comments on commit 0384ee2

Please sign in to comment.