Skip to content

Commit 270402d

Browse files
committed
Add test_cff_model_flprj
1 parent c9c1797 commit 270402d

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

tests/test_cff.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,19 @@ def test_cff_model(server_type, fluent_multi_species):
3939
assert "faces" in str(mesh)
4040

4141

42+
@pytest.mark.skipif(
43+
not conftest.SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_7_0,
44+
reason="CFF source operators where not supported before 7.0,",
45+
)
46+
def test_cff_model_flprj(server_type, fluent_axial_comp_flprj):
47+
ds = fluent_axial_comp_flprj(server_type)
48+
model = dpf.Model(ds, server=server_type)
49+
assert model is not None
50+
assert "fluid" in str(model)
51+
mesh_info = model.metadata.mesh_info
52+
assert "faces" in str(mesh_info)
53+
54+
4255
@pytest.mark.skipif(
4356
not conftest.SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_7_0,
4457
reason="CFF source operators where not supported before 7.0,",

0 commit comments

Comments
 (0)