test create_or_populate_from_xml without a list
This commit is contained in:
parent
f8959ef16f
commit
02edd0eaf0
@ -55,10 +55,10 @@ def test_dir_error(request):
|
||||
|
||||
def launch_flattener(test_dir, test_ok=False):
|
||||
eolobj = objspace.RougailObjSpace(Config['dtdfilename'])
|
||||
dirs = [test_dir]
|
||||
dirs = test_dir
|
||||
subfolder = join(test_dir, 'subfolder')
|
||||
if isdir(subfolder):
|
||||
dirs.append(subfolder)
|
||||
dirs = [dirs, subfolder]
|
||||
eolobj.create_or_populate_from_xml(Config['variable_namespace'], dirs)
|
||||
subfolder = join(test_dir, 'extra_dirs', 'extra')
|
||||
if isdir(subfolder):
|
||||
|
Loading…
Reference in New Issue
Block a user