From 1c743873e15cb7f85a4c4b0b553295783ab14f8c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20tom=20W=C3=B6rden?= <h.tomwoerden@indiscale.com>
Date: Tue, 26 Sep 2023 11:31:24 +0200
Subject: [PATCH] tox

---
 tox.ini | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/tox.ini b/tox.ini
index 0e9664c3..3772a736 100644
--- a/tox.ini
+++ b/tox.ini
@@ -12,7 +12,11 @@ deps=nose
     openpyxl >= 3.0.7
     xlrd == 1.2
     h5py
-commands=py.test --cov=caosadvancedtools -vv {posargs}
+commands_pre=pip install ../caosdb-pylib/
+    python --version
+    python -c "import caosdb; print(caosdb.__version__)"
+# Add "-x" to stop at first error.
+commands=pytest --cov=caosadvancedtools -vv {posargs}
 
 [flake8]
 max-line-length=100
-- 
GitLab