test-fullautomation / python-jsonpreprocessor

A preprocessor for json files
Apache License 2.0
2 stars 2 forks source link

Execution interdependencies #222

Closed HolQue closed 3 months ago

HolQue commented 4 months ago

JSON code executed

{
   ${testdict1.subKey1.subKey2.subKey3} : {"subKey4" : 1}
}

results in valid values:

{'testdict1': {'subKey1': {'subKey2': {'subKey3': {'subKey4': 1}}}}}

Same code (same JSON file) executed again (within same Python process) results in an empty dictionary:

{}

This is if I use the same JsonPreprocessor object for both executions and also if I create a new object before each execution.

But the result should be the same in all cases.

namsonx commented 3 months ago

Hello Holger,

This issue was solved on stabi branch.

Thank you, Son

HolQue commented 3 months ago

Retest successful. Issue can be closed.