Skip to content

Commit

Permalink
FEM: objects unit tests, improve directory handling
Browse files Browse the repository at this point in the history
  • Loading branch information
berndhahnebach committed Jul 3, 2020
1 parent 755ffe2 commit 5d51198
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/Mod/Fem/femtest/app/test_object.py
Expand Up @@ -100,11 +100,10 @@ def test_femobjects_make(
)

# save the file
save_dir = testtools.get_unit_test_tmp_dir(
testtools.get_fem_test_tmp_dir(),
"FEM_all_objects"
save_fc_file = join(
testtools.get_fem_test_tmp_dir("objects_create_all"),
"all_objects.FCStd"
)
save_fc_file = join(save_dir, "all_objects.FCStd")
fcc_print(
"Save FreeCAD all objects file to {} ..."
.format(save_fc_file)
Expand Down

0 comments on commit 5d51198

Please sign in to comment.