From 9aeb62eaaa356a7212625d4d35ebd8f9dbce1787 Mon Sep 17 00:00:00 2001 From: cootshk <83678457+cootshk@users.noreply.github.com> Date: Thu, 2 Nov 2023 13:42:11 -0500 Subject: [PATCH] why is tests/ the top-level package --- .github/workflows/python-test.yml | 2 +- tests/__init__.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python-test.yml b/.github/workflows/python-test.yml index 3796f19..a3e094c 100644 --- a/.github/workflows/python-test.yml +++ b/.github/workflows/python-test.yml @@ -30,4 +30,4 @@ jobs: if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - name: Test with pytest run: | - pytest tests/ + pytest tests diff --git a/tests/__init__.py b/tests/__init__.py index e69de29..8d2ad46 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -0,0 +1 @@ +import ..tables as t \ No newline at end of file