Skip to content

Commit

Permalink
Put all combinations into named variable
Browse files Browse the repository at this point in the history
  • Loading branch information
jirik committed Nov 2, 2021
1 parent 41cf272 commit 6b8ce2c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/dynamic_data/publications/wrong_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ def generate(workspace=None):

result = dict()
for testcase, tc_params in TESTCASES.items():
for rest_param_values in itertools.product(*rest_param_all_values):
all_combinations = itertools.product(*rest_param_all_values)
for rest_param_values in all_combinations:
test_case_postfix = '_'.join([REST_PARAMETRIZATION[rest_param_names[idx]][value]
for idx, value in enumerate(rest_param_values)
if REST_PARAMETRIZATION[rest_param_names[idx]][value]])
Expand Down

0 comments on commit 6b8ce2c

Please sign in to comment.