Post update

This commit is contained in:
simonwt 2026-04-07 23:37:55 +01:00
parent 1995e0479f
commit a42a3b65d9
9 changed files with 116 additions and 17 deletions

View file

@ -13,10 +13,10 @@ class TestGetChildSpkskFromPaths(unittest.TestCase):
self.assertEqual(get_child_spksk_from_paths(parent_path, item_path), expected_output)
def test_comment_reaction(self):
parent_path = '/post/12345'
parent_path = '/post/12345-abcv'
item_path = '/comment/67890'
expected_output = {
"pk": "post#12345",
"pk": "post#12345-abcv",
"sk": "comment#67890",
"entity": "comment",
"slug": "67890"