Let the return value from the iterator method be a reference to the mock queryset. This way chained calls on querysets such as mock.all().filter().order_by() will work.