Date: Monday, March 6, 2023 @ 21:01:44
  Author: arojas
Revision: 1416248

Run tests

Modified:
  python-jupyterlab_server/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-03-06 21:01:39 UTC (rev 1416247)
+++ PKGBUILD    2023-03-06 21:01:44 UTC (rev 1416248)
@@ -11,8 +11,8 @@
 license=(custom)
 depends=(jupyter-server python-requests python-json5 python-babel)
 makedepends=(python-build python-installer python-hatchling)
-checkdepends=(python-pytest-tornasync python-pytest-cov python-pytest-timeout
-              python-openapi-core python-strict-rfc3339 python-ruamel-yaml 
python-parse python-pip)
+checkdepends=(python-pytest-tornasync python-pytest-cov python-pytest-timeout 
python-pytest-jupyter
+              python-openapi-core python-strict-rfc3339 python-ruamel-yaml 
python-parse python-requests-mock python-jupyter-server-terminals)
 conflicts=(jupyterlab_server)
 replaces=(jupyterlab_server)
 source=(https://pypi.io/packages/source/j/$_pipname/$_pipname-$pkgver.tar.gz)
@@ -25,8 +25,10 @@
 
 check() {
   cd $_pipname-$pkgver
-# does not support openapi-core 0.16
-# pytest -v -k 'not test_translation_api.py' -W 
ignore::pytest.PytestAssertRewriteWarning -W ignore::DeprecationWarning
+  pytest -v  -k 'not test_translation_api.py' \
+    -W ignore::pytest.PytestAssertRewriteWarning \
+    -W ignore::DeprecationWarning \
+    -W ignore::pytest.PytestUnraisableExceptionWarning
 }
 
 package() {

Reply via email to