Skip to content

Commit

Permalink
fixed small bug in expect workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jake authored and jake committed Mar 19, 2024
1 parent b5d8069 commit 00b3966
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internetarchive/iarequest.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ def prepare_patch(metadata, source_metadata, append,
path = f'/{key}/{idx}'
p_test = {'op': 'test', 'path': path, 'value': expect[expect_key]}
else:
path = f'/{key}'
path = f'/{expect_key}'
p_test = {'op': 'test', 'path': path, 'value': expect[expect_key]}

patch_tests.append(p_test)
Expand Down

0 comments on commit 00b3966

Please sign in to comment.