Skip to content
Snippets Groups Projects
Commit 307d0d00 authored by Stephan Seitz's avatar Stephan Seitz
Browse files

Fixup: skiptest if lbmpy not available

parent 468d41d5
No related branches found
No related tags found
No related merge requests found
Pipeline #20206 passed with warnings
...@@ -10,6 +10,8 @@ ...@@ -10,6 +10,8 @@
import pytest import pytest
pytest.importorskip('lbmpy')
from lbmpy.boundaries import UBB, FixedDensity, NoSlip from lbmpy.boundaries import UBB, FixedDensity, NoSlip
from lbmpy.geometry import add_pipe_inflow_boundary, add_pipe_walls from lbmpy.geometry import add_pipe_inflow_boundary, add_pipe_walls
from lbmpy.lbstep import LatticeBoltzmannStep from lbmpy.lbstep import LatticeBoltzmannStep
...@@ -17,7 +19,6 @@ from pystencils.datahandling import create_data_handling ...@@ -17,7 +19,6 @@ from pystencils.datahandling import create_data_handling
from pystencils.datahandling.graph_datahandling import GraphDataHandling from pystencils.datahandling.graph_datahandling import GraphDataHandling
from pystencils.slicing import slice_from_direction from pystencils.slicing import slice_from_direction
pytest.importorskip('lbmpy')
def create_lid_driven_cavity(domain_size=None, lid_velocity=0.005, lbm_kernel=None, def create_lid_driven_cavity(domain_size=None, lid_velocity=0.005, lbm_kernel=None,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment