That's the best I could do given the minimal explanation that you provided.
> So, why can't you call random.shuffle(all_tests) if you want to run your tests in random order?
I dont randomize test order. People should stop assuming that they know better.
I still don't understand what you want.
I need to randomize some arguments for one particular test and I cannot call shuffle between tests.
What is "Its"?
Its a continous list of declarative tests.
This sentence would benefit from having a subject.
Needs to be shuffled().
No. Not without further assumptions.
No way to put imperative code between tests.
Maybe you could show how you would write what you want with a "shuffled" function.