Skip to content

Commit c9c1797

Browse files
committed
Add pytest fixture fluent_axial_comp_flprj
1 parent ec102cb commit c9c1797

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

tests/conftest.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,20 @@ def return_ds(server=None):
254254
return return_ds
255255

256256

257+
@pytest.fixture()
258+
def fluent_axial_comp_flprj():
259+
"""Return a function which creates a data sources
260+
with a 'flrpj' file of fluent axial compressor case."""
261+
262+
def return_ds(server=None):
263+
ds = core.DataSources(server=server)
264+
files = examples.download_fluent_axial_comp(server=server)
265+
ds.set_result_file_path(files["flprj"], "flprj")
266+
return ds
267+
268+
return return_ds
269+
270+
257271
@pytest.fixture()
258272
def fluent_mixing_elbow_steady_state():
259273
"""Return a function which creates a data sources

0 commit comments

Comments
 (0)