Skip to content

Commit 3a3b2a6

Browse files
b-matteopyansys-ci-botRobPasMueRyanJWard
authored
fix: re enable fmd tests (#1711)
Co-authored-by: pyansys-ci-bot <[email protected]> Co-authored-by: Roberto Pastor Muela <[email protected]> Co-authored-by: Ryan Ward <[email protected]>
1 parent f79a249 commit 3a3b2a6

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

doc/changelog.d/1711.fixed.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
re enable fmd tests

tests/integration/test_design.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -985,16 +985,16 @@ def test_download_file(modeler: Modeler, tmp_path_factory: pytest.TempPathFactor
985985
design.download(iges_file, format=DesignFileFormat.IGES)
986986
assert iges_file.exists()
987987

988-
# FMD
989-
fmd_file = tmp_path_factory.mktemp("scdoc_files_download") / "cylinder.fmd"
990-
design.download(fmd_file, format=DesignFileFormat.FMD)
991-
assert fmd_file.exists()
992-
993988
# Linux backend...
994989
else:
995990
binary_parasolid_file = tmp_path_factory.mktemp("scdoc_files_download") / "cylinder.xmt_bin"
996991
text_parasolid_file = tmp_path_factory.mktemp("scdoc_files_download") / "cylinder.xmt_txt"
997992

993+
# FMD
994+
fmd_file = tmp_path_factory.mktemp("scdoc_files_download") / "cylinder.fmd"
995+
design.download(fmd_file, format=DesignFileFormat.FMD)
996+
assert fmd_file.exists()
997+
998998
# PMDB
999999
pmdb_file = tmp_path_factory.mktemp("scdoc_files_download") / "cylinder.pmdb"
10001000

tests/integration/test_design_export.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,6 @@ def test_export_to_iges(modeler: Modeler, tmp_path_factory: pytest.TempPathFacto
311311

312312
def test_export_to_fmd(modeler: Modeler, tmp_path_factory: pytest.TempPathFactory):
313313
"""Test exporting a design to FMD format."""
314-
skip_if_core_service(modeler, test_export_to_fmd.__name__, "fmd_export")
315314

316315
# Create a demo design
317316
design = _create_demo_design(modeler)

0 commit comments

Comments
 (0)