Skip to content

Commit

Permalink
FEM: unit test, reactivate nonlin mat unit test for Py3
Browse files Browse the repository at this point in the history
  • Loading branch information
berndhahnebach committed Jan 30, 2020
1 parent 84aa3bb commit b18b8a8
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions src/Mod/Fem/femtest/app/test_ccxtools.py
Expand Up @@ -23,14 +23,16 @@
# * *
# ***************************************************************************/

from femtools import ccxtools
import FreeCAD
import unittest
import sys
from os.path import join


import FreeCAD
from femtools import ccxtools
from . import support_utils as testtools
from .support_utils import fcc_print

from os.path import join


class TestCcxTools(unittest.TestCase):
fcc_print("import TestCcxTools")
Expand Down Expand Up @@ -187,14 +189,14 @@ def test_static_material_nonlinar(
"FEM_ccx_matnonlinear"
)

""" # https://forum.freecadweb.org/viewtopic.php?f=18&t=42821
# test input file writing
self.input_file_writing_test(
test_name=test_name,
base_name=base_name,
analysis_dir=analysis_dir,
)
"""
if sys.version_info.major >= 3:
# https://forum.freecadweb.org/viewtopic.php?f=18&t=42821
self.input_file_writing_test(
test_name=test_name,
base_name=base_name,
analysis_dir=analysis_dir,
)

# ********************************************************************************************
def test_thermomech_flow1D_analysis(
Expand Down

0 comments on commit b18b8a8

Please sign in to comment.