summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2022-10-03 23:03:28 +0200
committerRomain Gonçalves <me@rgoncalves.se>2022-10-03 23:03:28 +0200
commita4c33c55bf122d610628b76545dc50f52d4942ce (patch)
tree29a8c8e31d75885162451aae09d8aeb25917d978 /tests
parentdd66bf95742c98e49e664672b229e8fddbdd296d (diff)
downloadpydanclick-a4c33c55bf122d610628b76545dc50f52d4942ce.tar.gz
wip: add tests
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.