Make the state of the test function persistent (at least for the life-time of the python instance for now)