Skip to content

Commit b426609

Browse files
committed
Fix test command message.
1 parent 2b705ff commit b426609

File tree

1 file changed

+2
-2
lines changed
  • stac_fastapi/sfeos_helpers/stac_fastapi/sfeos_helpers/database

1 file changed

+2
-2
lines changed

stac_fastapi/sfeos_helpers/stac_fastapi/sfeos_helpers/database/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def check_commands(
120120
else:
121121
commands.add(
122122
f"if (!ctx._source{part_nest}.containsKey('{path_part}'))"
123-
f"{{Debug.explain('{path_part} in {path.nest} does not exist');}}"
123+
f"{{Debug.explain('{path_part} in {path.path} does not exist');}}"
124124
)
125125

126126
part_nest += f"['{path_part}']"
@@ -221,7 +221,7 @@ def test_commands(
221221

222222
commands.add(
223223
f"if (ctx._source{path.es_path} != {value})"
224-
f"{{Debug.explain('Test failed `{path.es_path}`"
224+
f"{{Debug.explain('Test failed `{path.path}`"
225225
f" != ' + ctx._source{path.es_path});}}"
226226
)
227227

0 commit comments

Comments
 (0)