Auto upload missing images

This commit is contained in:
Julien Duponchelle
2016-06-07 19:38:01 +02:00
parent 972cbd0594
commit 08e482004f
15 changed files with 194 additions and 65 deletions

View File

@ -70,7 +70,10 @@ class AsyncioMagicMock(unittest.mock.MagicMock):
Magic mock returning coroutine
"""
def __init__(self, return_value=None, **kwargs):
def __init__(self, return_value=None, return_values=None, **kwargs):
"""
:return_values: Array of return value at each call will return the next
"""
if return_value:
future = asyncio.Future()
future.set_result(return_value)