Fix Python – Python mock multiple return values

I am using pythons mock.patch and would like to change the return value for each call.
Here is the caveat:
the function being patched has no inputs, so I can not change the return value based on the input.
Here is my code for reference.
def get_boolean_response():
response = io.prompt(‘y/n’).lower()
while response not in (‘y’, ‘n’, ‘yes’, ….