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)
|
""" % (modpath, modname)
|
||||||
print code
|
print code
|
||||||
f.write(code)
|
f.write(code)
|
||||||
f.flush
|
f.flush()
|
||||||
output = call_openscad(path=fpath, stlpath=stlpath, timeout=0)
|
output = call_openscad(path=fpath, stlpath=stlpath, timeout=15)
|
||||||
print output
|
print output
|
||||||
assert output[0] is 0
|
assert output[0] is 0
|
||||||
for s in ("warning", "error"):
|
for s in ("warning", "error"):
|
||||||
|
|
Loading…
Reference in a new issue