diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2019-09-25 15:09:21 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2019-09-25 15:09:21 +0200 |
commit | 0d4dac662b89bac9624337f851f448516a14f6fc (patch) | |
tree | a4fb66f3276ca570a7fa7758a928d64dac375d84 /test/test_codegen.py | |
parent | 35724ec75c281fc758963db69a1e112d53de687a (diff) |
Transition: fix arg_to_param_map semantics
Diffstat (limited to 'test/test_codegen.py')
-rwxr-xr-x | test/test_codegen.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_codegen.py b/test/test_codegen.py index e1bb942..e9b4067 100755 --- a/test/test_codegen.py +++ b/test/test_codegen.py @@ -42,7 +42,7 @@ example_json_1 = { 'destination' : 'IDLE', 'duration' : { 'static' : 120 }, 'energy ' : { 'static' : 10000 }, - 'arg_to_param_map' : { 'txpower' : 0 }, + 'arg_to_param_map' : { 0: 'txpower'}, 'argument_values' : [ [10, 20, 30] ], }, { @@ -65,7 +65,7 @@ example_json_1 = { 'regression_args' : [3, 5], }, }, - 'arg_to_param_map' : { 'txbytes' : 1 }, + 'arg_to_param_map' : { 1: 'txbytes'}, 'argument_values' : [ ['"foo"', '"hodor"'], [3, 5] ], 'argument_combination' : 'zip', }, |