From 036867a251353b021253a6c3ff9c23887dd5085a Mon Sep 17 00:00:00 2001 From: David Herberth Date: Tue, 18 Sep 2018 23:25:00 +0200 Subject: [PATCH] test: added requirements-test.txt for explicit test requirements. --- Jenkinsfile | 2 +- requirements-test.txt | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 requirements-test.txt diff --git a/Jenkinsfile b/Jenkinsfile index 495ce8a4..0dc45835 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -13,7 +13,7 @@ pipeline { steps { withPythonEnv('python2') { pysh 'python -m pip install -r requirements.txt' - pysh 'python -m pip install nose mock' + pysh 'python -m pip install -r requirements-test.txt' pysh 'python -m nose --with-xunit || true' junit 'nosetests.xml' } diff --git a/requirements-test.txt b/requirements-test.txt new file mode 100644 index 00000000..a2dc6a12 --- /dev/null +++ b/requirements-test.txt @@ -0,0 +1,2 @@ +nose>=1.3.0,<2.0.0 +mock>=2.0.0,<3.0.0