Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
davisagli committed Feb 15, 2024
1 parent 8ead4d7 commit 2b6d47a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/plone/restapi/tests/test_blocks_deserializer.py
Original file line number Diff line number Diff line change
Expand Up @@ -563,9 +563,7 @@ def test_slate_simple_link_deserializer_with_slash_and_anchor(self):
res = self.deserialize(blocks=blocks)
value = res.blocks["abc"]["value"]
link = value[0]["children"][1]["data"]["url"]
self.assertEqual(
link, f"../resolveuid/{self.image.UID()}#anchor-id"
)
self.assertEqual(link, f"../resolveuid/{self.image.UID()}#anchor-id")

def test_aquisition_messing_with_link_deserializer(self):
self.portal.invokeFactory(
Expand Down

0 comments on commit 2b6d47a

Please sign in to comment.