I have multiple for loops in which I override dependencies to create test cases for FastApi testing.
# Example for loop
for setting1 in Settings1:
for setting2 in Settings2:
response = get_test(setting1, setting2):
assert response == 500
The tests will not work with for loops.
I now search for a tool that has the for loops as input and output the code of the unrolled for loops.
I searched some time for find a tool that unrolls for loops.
I have not found a solution.