Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion pytest.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
[pytest]
addopts = -m "dev and not fluent_231"
markers =
integration:Short-running tests which read a simple input file and check the exposure and values of various setting objects
quick:Run the quick tests
Expand Down
2 changes: 1 addition & 1 deletion tests/test_solvermode/test_controls.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import pytest


@pytest.mark.integration
@pytest.mark.quick
@pytest.mark.setup
@pytest.mark.fluent_231
def test_controls(load_mixing_elbow_mesh):
solver = load_mixing_elbow_mesh
solver.setup.models.multiphase.models = "vof"
Expand Down
2 changes: 2 additions & 0 deletions tests/test_solvermode/test_general.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

@pytest.mark.quick
@pytest.mark.setup
@pytest.mark.fluent_231
def test_solver_import_mixingelbow(load_mixing_elbow_mesh):
solver_session = load_mixing_elbow_mesh
assert solver_session._root.get_attr("active?")
Expand Down Expand Up @@ -44,6 +45,7 @@ def test_solver_import_mixingelbow(load_mixing_elbow_mesh):

@pytest.mark.quick
@pytest.mark.setup
@pytest.mark.fluent_231
def test_disk_2d_setup(load_disk_mesh):
session = load_disk_mesh
assert session._root.get_attr("active?")
Expand Down
2 changes: 2 additions & 0 deletions tests/test_solvermode/test_initialization.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

@pytest.mark.quick
@pytest.mark.setup
@pytest.mark.fluent_231
def test_initialize(launch_fluent_solver_3ddp_t2):
solver = launch_fluent_solver_3ddp_t2
input_type, input_name = download_input_file("pyfluent/wigley_hull", "wigley.msh")
Expand Down Expand Up @@ -56,6 +57,7 @@ def test_initialize(launch_fluent_solver_3ddp_t2):

@pytest.mark.quick
@pytest.mark.setup
@pytest.mark.fluent_231
def test_fmg_initialize(launch_fluent_solver_3ddp_t2):
solver = launch_fluent_solver_3ddp_t2
input_type, input_name = download_input_file(
Expand Down
2 changes: 1 addition & 1 deletion tests/test_solvermode/test_materials.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
from util.solver import copy_database_material


@pytest.mark.integration
@pytest.mark.quick
@pytest.mark.setup
@pytest.mark.fluent_231
def test_solver_material(load_mixing_elbow_mesh):
solver_session = load_mixing_elbow_mesh
copy_database_material(
Expand Down
1 change: 1 addition & 0 deletions tests/test_solvermode/test_methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

@pytest.mark.quick
@pytest.mark.setup
@pytest.mark.fluent_231
def test_methods(load_mixing_elbow_mesh):
solver = load_mixing_elbow_mesh
solver.setup.models.multiphase.models = "vof"
Expand Down
2 changes: 2 additions & 0 deletions tests/test_solvermode/test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
@pytest.mark.integration
@pytest.mark.quick
@pytest.mark.setup
@pytest.mark.fluent_231
def test_solver_models(load_mixing_elbow_mesh):
solver_session = load_mixing_elbow_mesh
assert not solver_session.setup.models.energy.enabled()
Expand All @@ -24,6 +25,7 @@ def test_solver_models(load_mixing_elbow_mesh):

@pytest.mark.quick
@pytest.mark.setup
@pytest.mark.fluent_231
def test_disk_2d_models(load_disk_mesh):
solver_session = load_disk_mesh
solver_session.setup.general.solver.two_dim_space = "axisymmetric"
Expand Down
1 change: 1 addition & 0 deletions tests/test_solvermode/test_named_expressions.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

@pytest.mark.quick
@pytest.mark.setup
@pytest.mark.fluent_231
def test_expression(load_mixing_elbow_mesh):
solver_session = load_mixing_elbow_mesh
solver_session.setup.models.energy.enabled = True
Expand Down