From 474039554de2641966caf5db6aaf6d54c09a5e1b Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 27 Jan 2019 11:20:56 +0200 Subject: [PATCH] gnu: python-flask: Run test suite. * gnu/packages/python-web.scm (python-flask)[arguments]: Use custom 'check phase. [native-inputs]: Add python-pytest. --- gnu/packages/python-web.scm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 832ca93970..8056c862bd 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -1591,6 +1591,14 @@ minimum of WSGI.") (base32 "0j6f4a9rpfh25k1gp7azqhnni4mb4fgy50jammgjgddw1l3w0w92")))) (build-system python-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (invoke "python" "-m" "pytest")))))) + (native-inputs + `(("python-pytest" ,python-pytest))) (propagated-inputs `(("python-itsdangerous" ,python-itsdangerous) ("python-jinja2" ,python-jinja2)