FEM: elmer, use console print and delete not needed prints in unit test
This commit is contained in:
@@ -28,6 +28,8 @@ __url__ = "http://www.freecadweb.org"
|
||||
|
||||
import subprocess
|
||||
import os.path
|
||||
|
||||
import FreeCAD
|
||||
import femtools.femutils as femutils
|
||||
|
||||
from .. import run
|
||||
@@ -67,7 +69,7 @@ class Prepare(run.Prepare):
|
||||
|
||||
def run(self):
|
||||
self.pushStatus("Preparing input files...\n")
|
||||
print("Prepare testmode: " + str(self.testmode))
|
||||
FreeCAD.Console.PrintMessage("Machine testmode: {}".format(self.testmode))
|
||||
if self.testmode:
|
||||
w = writer.Writer(self.solver, self.directory, True) # test mode
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user