Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove pin on jsonpath-ng and fix issue #2

Merged
merged 1 commit into from
Feb 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion localstack_snapshot/snapshots/prototype.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ def _remove_skip_verification_paths(self, tmp: Dict):

def build_full_path_nodes(field_match: DatumInContext):
"""Traverse the matched Datum to build the path field by field"""
full_path_nodes = [str(field_match.path)]
full_path_nodes = [str(field_match.path).replace("'", "")]
next_node = field_match
while next_node.context is not None:
full_path_nodes.append(str(next_node.context.path))
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ authors = [
version = "0.1.0"
description = "Extracted snapshot testing lib for LocalStack"
dependencies = [
"jsonpath-ng==1.5.3", # TODO: resolve this pin
"jsonpath-ng>1.6",
"deepdiff",
"botocore",
]
Expand Down
Loading