From bcb4fbc913881d918909326a11d042811524e064 Mon Sep 17 00:00:00 2001 From: Anne Heimes <64446926+ahms5@users.noreply.github.com> Date: Fri, 24 Feb 2023 18:49:42 +0100 Subject: [PATCH] make diffusion module available --- imkar/__init__.py | 1 + tests/test_imkar.py | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/imkar/__init__.py b/imkar/__init__.py index e176307..e9d7db7 100644 --- a/imkar/__init__.py +++ b/imkar/__init__.py @@ -6,3 +6,4 @@ from . import scattering # noqa +from . import diffusion # noqa diff --git a/tests/test_imkar.py b/tests/test_imkar.py index 6b6c622..baaa6a2 100644 --- a/tests/test_imkar.py +++ b/tests/test_imkar.py @@ -22,3 +22,12 @@ def test_content(response): # noqa """Sample pytest test function with the pytest fixture as an argument.""" # from bs4 import BeautifulSoup # assert 'GitHub' in BeautifulSoup(response.content).title.string + + +def test_imports(): + import imkar + assert imkar + import imkar.diffusion as diffusion + assert diffusion + import imkar.scattering as scattering + assert scattering