Skip to content

Commit

Permalink
fix: re enable fmd tests (#1711)
Browse files Browse the repository at this point in the history
Co-authored-by: pyansys-ci-bot <[email protected]>
Co-authored-by: Roberto Pastor Muela <[email protected]>
Co-authored-by: Ryan Ward <[email protected]>
  • Loading branch information
4 people authored Feb 7, 2025
1 parent f79a249 commit 3a3b2a6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
1 change: 1 addition & 0 deletions doc/changelog.d/1711.fixed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
re enable fmd tests
10 changes: 5 additions & 5 deletions tests/integration/test_design.py
Original file line number Diff line number Diff line change
Expand Up @@ -985,16 +985,16 @@ def test_download_file(modeler: Modeler, tmp_path_factory: pytest.TempPathFactor
design.download(iges_file, format=DesignFileFormat.IGES)
assert iges_file.exists()

# FMD
fmd_file = tmp_path_factory.mktemp("scdoc_files_download") / "cylinder.fmd"
design.download(fmd_file, format=DesignFileFormat.FMD)
assert fmd_file.exists()

# Linux backend...
else:
binary_parasolid_file = tmp_path_factory.mktemp("scdoc_files_download") / "cylinder.xmt_bin"
text_parasolid_file = tmp_path_factory.mktemp("scdoc_files_download") / "cylinder.xmt_txt"

# FMD
fmd_file = tmp_path_factory.mktemp("scdoc_files_download") / "cylinder.fmd"
design.download(fmd_file, format=DesignFileFormat.FMD)
assert fmd_file.exists()

# PMDB
pmdb_file = tmp_path_factory.mktemp("scdoc_files_download") / "cylinder.pmdb"

Expand Down
1 change: 0 additions & 1 deletion tests/integration/test_design_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,6 @@ def test_export_to_iges(modeler: Modeler, tmp_path_factory: pytest.TempPathFacto

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

# Create a demo design
design = _create_demo_design(modeler)
Expand Down

0 comments on commit 3a3b2a6

Please sign in to comment.