From ccbb63234971c00f672aa01d9d415e8036014a63 Mon Sep 17 00:00:00 2001 From: Axel Huebl Date: Tue, 2 Jan 2024 15:18:43 -0800 Subject: [PATCH] Test: `impactx.__version__` Make sure this is not empty. --- tests/python/test_impactx.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/python/test_impactx.py b/tests/python/test_impactx.py index 390fe5ea8..4c76e693f 100755 --- a/tests/python/test_impactx.py +++ b/tests/python/test_impactx.py @@ -12,9 +12,17 @@ import pytest import amrex.space3d as amr +import impactx from impactx import ImpactX, RefPart, distribution, elements +def test_impactx_module(): + """ + Tests the basic modules we provide. + """ + assert impactx.__version__ # version must not be empty + + def test_impactx_fodo_file(): """ This tests an equivalent to main.cpp in C++