DNDSR 0.1.0.dev1+gcd065ad
Distributed Numeric Data Structure for CFV
Loading...
Searching...
No Matches
test.conftest Namespace Reference

Functions

 mpi ()
 

Variables

 _PYTHON_DIR = str(Path(__file__).resolve().parent.parent / "python")
 

Detailed Description

Root conftest — ensures the in-tree ``python/`` directory is importable.

With this file ``pytest test/`` (or ``python -m pytest test/``) works
without ``pip install -e .`` as long as the C++ shared libraries and
pybind11 ``.so`` modules have been built and installed into the
``python/DNDSR/`` tree via::

    cmake --build build -t dnds_pybind11 geom_pybind11 cfv_pybind11 eulerP_pybind11 -j32
    cmake --install build --component py

Function Documentation

◆ mpi()

test.conftest.mpi ( )
Shared MPI fixture — creates a world-scope MPIInfo.

Definition at line 27 of file conftest.py.

Variable Documentation

◆ _PYTHON_DIR

test.conftest._PYTHON_DIR = str(Path(__file__).resolve().parent.parent / "python")
protected

Definition at line 19 of file conftest.py.