summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/conftest.py6
-rw-r--r--tests/test_core.py3
2 files changed, 9 insertions, 0 deletions
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
remember that computers suck.