From a4c33c55bf122d610628b76545dc50f52d4942ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Mon, 3 Oct 2022 23:03:28 +0200 Subject: wip: add tests --- tests/conftest.py | 6 ++++++ tests/test_core.py | 3 +++ 2 files changed, 9 insertions(+) create mode 100644 tests/conftest.py create mode 100644 tests/test_core.py (limited to 'tests') diff --git a/tests/conftest.py b/tests/conftest.py new file mode 100644 index 0000000..9282809 --- /dev/null +++ b/tests/conftest.py @@ -0,0 +1,6 @@ +import pytest + + +@pytest.fixture(autouse=True) +def add_np(doctest_namespace): + doctest_namespace["np"] = numpy diff --git a/tests/test_core.py b/tests/test_core.py new file mode 100644 index 0000000..b755a52 --- /dev/null +++ b/tests/test_core.py @@ -0,0 +1,3 @@ +import pytest + +from pydanclick import core -- cgit v1.2.3