Testing seems to work. Adding () after a function does wonders if you want that function to actually do anything (like flush the testing code to disk so that openscad actually has something to chew on ;)
This commit is contained in:
parent
dfeaa1f7df
commit
10889aa2fc
|
@ -29,8 +29,8 @@ use <%s>
|
|||
""" % (modpath, modname)
|
||||
print code
|
||||
f.write(code)
|
||||
f.flush
|
||||
output = call_openscad(path=fpath, stlpath=stlpath, timeout=0)
|
||||
f.flush()
|
||||
output = call_openscad(path=fpath, stlpath=stlpath, timeout=15)
|
||||
print output
|
||||
assert output[0] is 0
|
||||
for s in ("warning", "error"):
|
||||
|
|
Loading…
Reference in a new issue