From 276015a90de0193d463c2d54e75abbdd21f83cc3 Mon Sep 17 00:00:00 2001 From: Grey Li Date: Sun, 10 Dec 2023 12:47:02 +0800 Subject: [PATCH] Add minimal test To prevent issues like https://github.com/pallets-eco/flask-debugtoolbar/pull/225, This PR add a minimal test that no extra deps are involved, it only install the package, then try to import the extension class. fixes #226 --- tox.ini | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tox.ini b/tox.ini index 48be4c1..e29d080 100644 --- a/tox.ini +++ b/tox.ini @@ -13,6 +13,12 @@ deps = commands = pytest +[testenv:minimal] +deps = + . +commands = + python -c "from flask_debugtoolbar import DebugToolbarExtension" + [testenv:stylecheck] deps = pycodestyle