From e24772dc53a446d04a3c760020102a0464514fe0 Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Wed, 20 Dec 2023 02:41:46 +0100 Subject: [PATCH] Fix package metadata and surrogate software tests --- pyproject.toml | 3 --- src/sqlalchemy_cratedb/__init__.py | 1 + tests/test_dummy.py | 5 +++++ 3 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 tests/test_dummy.py diff --git a/pyproject.toml b/pyproject.toml index db73aaab..7d462074 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -225,9 +225,6 @@ extend-exclude = [ ] "examples/*" = ["T201"] # Allow `print` -[tool.setuptools.packages.find] -namespaces = false - # =================== # Tasks configuration diff --git a/src/sqlalchemy_cratedb/__init__.py b/src/sqlalchemy_cratedb/__init__.py index e69de29b..83bb4296 100644 --- a/src/sqlalchemy_cratedb/__init__.py +++ b/src/sqlalchemy_cratedb/__init__.py @@ -0,0 +1 @@ +DUMMY = 42 diff --git a/tests/test_dummy.py b/tests/test_dummy.py new file mode 100644 index 00000000..ffc2300b --- /dev/null +++ b/tests/test_dummy.py @@ -0,0 +1,5 @@ +from sqlalchemy_cratedb import DUMMY + + +def test_dummy(): + assert DUMMY == 42