Multiple calls to same fake obj without any specific order

Create issue
Issue #28 new
Varun Shastry created an issue

There seems no way to register for the call of the same fake callable object without specifying the order.

For ex: mock_fun = Fake().expects_call().with_args(1).with_args(2) there is a condition that between these two you ought to specify the order that function call with arg 1 is called before function call with arg 2 or vice versa.

Requesting to add a feature which can just expect these two calls in any order.

Comments (0)

  1. Log in to comment