Commit 8ae0d461 authored by Denis Laxalde's avatar Denis Laxalde
Browse files

Return a copy of _TEST_TASKS in get_tasks()

Just in case someone wants to keep the results the same even after running
parent 375121812e8a
......@@ -40,7 +40,7 @@ UNKNOWN_TASK_NAME = six.text_type('<unknown>')
def get_tasks():
"""Return tasks to be run (for use in cubicweb test mode)"""
return _TEST_TASKS
return _TEST_TASKS.copy()
def run_all_tasks(cnx=None):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment