FEM: elmer, use console print and delete not needed prints in unit test

This commit is contained in:
Bernd Hahnebach
2019-03-31 15:08:29 +02:00
committed by wmayer
parent 1842ab28ae
commit c0ee45e2cc
2 changed files with 3 additions and 3 deletions

View File

@@ -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: