From 662b8932b5632f956131e3f9ca28b524cfff9852 Mon Sep 17 00:00:00 2001 From: wangwei Date: Wed, 13 Jan 2016 12:23:40 +0800 Subject: [PATCH] Move mock to test-requirements So that the spec will not need mock any more. --- .travis.yml | 1 + requirements.txt | 1 - test-requirements.txt | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 test-requirements.txt diff --git a/.travis.yml b/.travis.yml index 1b250c8..c1b8d19 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,6 +5,7 @@ python: # command to install dependencies install: - "pip install -r requirements.txt" + - "pip install -r test-requirements.txt" - "pip install pep8 --use-mirrors" - "pip install nose --use-mirrors" # command to run tests diff --git a/requirements.txt b/requirements.txt index 6682f6f..3a42a8f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,5 @@ pbr jsonrpclib netaddr -mock cliff oslo.config>=1.6.0 diff --git a/test-requirements.txt b/test-requirements.txt new file mode 100644 index 0000000..932a895 --- /dev/null +++ b/test-requirements.txt @@ -0,0 +1 @@ +mock