From 10889aa2fc36dcd7fa45607b99920cae7305ff7c Mon Sep 17 00:00:00 2001 From: Elmom Date: Fri, 1 Oct 2010 14:50:07 +0300 Subject: [PATCH] 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 ;) --- test_compile.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test_compile.py b/test_compile.py index 31e0e3f..64d96c7 100644 --- a/test_compile.py +++ b/test_compile.py @@ -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"):