diff options
| author | Romain Gonçalves <me@rgoncalves.se> | 2022-10-03 23:03:28 +0200 |
|---|---|---|
| committer | Romain Gonçalves <me@rgoncalves.se> | 2022-10-03 23:03:28 +0200 |
| commit | a4c33c55bf122d610628b76545dc50f52d4942ce (patch) | |
| tree | 29a8c8e31d75885162451aae09d8aeb25917d978 /tests | |
| parent | dd66bf95742c98e49e664672b229e8fddbdd296d (diff) | |
| download | pydanclick-a4c33c55bf122d610628b76545dc50f52d4942ce.tar.gz | |
wip: add tests
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/conftest.py | 6 | ||||
| -rw-r--r-- | tests/test_core.py | 3 |
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 |