diff --git a/tests/__init__.py b/tests/__init__.py index 4a4bb4317..5a9b8a781 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,7 +1,8 @@ """Unit test package for ra2ce.""" -import pytest from pathlib import Path +import pytest + slow_test = pytest.mark.slow_test external_test = pytest.mark.external_test_data diff --git a/tests/test_examples.py b/tests/test_examples.py index c5641362d..40d257ae3 100644 --- a/tests/test_examples.py +++ b/tests/test_examples.py @@ -1,11 +1,11 @@ from pathlib import Path -from tests import test_examples +import pytest from pytest_notebook.execution import execute_notebook from pytest_notebook.notebook import load_notebook +from tests import test_examples -import pytest _supported_examples = lambda x: "DIY" not in x.stem _jupyter_examples = [ pytest.param(_jupyter_file, id=_jupyter_file.stem.replace("_", " ").capitalize())