Skip to content

Commit 67ff0f4

Browse files
committed
remove pin on jsonpath-ng, fix issue
1 parent 2b257a1 commit 67ff0f4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

localstack_snapshot/snapshots/prototype.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ def _remove_skip_verification_paths(self, tmp: Dict):
339339

340340
def build_full_path_nodes(field_match: DatumInContext):
341341
"""Traverse the matched Datum to build the path field by field"""
342-
full_path_nodes = [str(field_match.path)]
342+
full_path_nodes = [str(field_match.path).replace("'", "")]
343343
next_node = field_match
344344
while next_node.context is not None:
345345
full_path_nodes.append(str(next_node.context.path))

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ authors = [
1010
version = "0.1.0"
1111
description = "Extracted snapshot testing lib for LocalStack"
1212
dependencies = [
13-
"jsonpath-ng==1.5.3", # TODO: resolve this pin
13+
"jsonpath-ng>1.6",
1414
"deepdiff",
1515
"botocore",
1616
]

0 commit comments

Comments
 (0)