|
@@ -17,7 +17,7 @@ from copy import deepcopy
|
17
|
17
|
# ## The Motor ## #
|
18
|
18
|
# ########################################################################### #
|
19
|
19
|
|
20
|
|
-def regression_test(argsrc, tests, driver_settings, cleanup_hack=None,
|
|
20
|
+def regression_test(argsrc, tests, driver_settings=None, cleanup_hack=None,
|
21
|
21
|
apply_hacks=None, on_next=None):
|
22
|
22
|
"""Perform regression test with argsets from `argsrc`.
|
23
|
23
|
|
|
@@ -55,6 +55,7 @@ def regression_test(argsrc, tests, driver_settings, cleanup_hack=None,
|
55
|
55
|
|
56
|
56
|
on_next = on_next if on_next else lambda a, b: None
|
57
|
57
|
apply_hacks = apply_hacks if apply_hacks else []
|
|
58
|
+ driver_settings = driver_settings if driver_settings else {}
|
58
|
59
|
|
59
|
60
|
tracker = Tracker()
|
60
|
61
|
last_argset = None
|