237
237
A set of tests with a common inputs
239
def __init__(self, name='', function=None, stdin='', filespace={}, global_space={}):
239
def __init__(self, name='', function=None, stdin='', filespace=None, global_space=None):
240
240
"""Initialise with name and optionally, a function to test (instead of the entire script)
241
241
The inputs stdin, the filespace and global variables can also be specified at
242
242
initialisation, but may also be set later.
246
251
if function == '': function = None