Post update
This commit is contained in:
parent
1995e0479f
commit
a42a3b65d9
9 changed files with 116 additions and 17 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue