Skip to content

Commit

Permalink
FEM: tests, adding check for file
Browse files Browse the repository at this point in the history
  • Loading branch information
Sudhanshu-Dubey14 authored and berndhahnebach committed Sep 8, 2020
1 parent 4dcfd8c commit 3bdb812
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Mod/Fem/femtest/app/test_solver_z88.py
Expand Up @@ -30,6 +30,7 @@
import unittest
from os import listdir
from os.path import join
from os.path import isfile

import FreeCAD

Expand Down Expand Up @@ -136,7 +137,7 @@ def inputfile_writing_test(

# compare created input files with the given input files
test_path = join(testtools.get_fem_test_home_dir(), "z88", base_name)
test_files = [f for f in listdir(test_path)]
test_files = [f for f in listdir(test_path) if isfile(join(test_path, f))]
# fcc_print(sorted(test_files))
not_files = ["__init__.py"]
test_files = [f for f in test_files if f not in not_files]
Expand Down

0 comments on commit 3bdb812

Please sign in to comment.