- move test-requirements to ./requirements/test
- freeze requirements in ./requirements/frozen{,-test}.txt
- add necessary packages for requirements checking
Change-Id: I451e75bd0d9654ab37940336145cf3b4d0e365fe
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
--- /dev/null
+ansible==2.1.2.0
+click==6.7
+connexion==1.1.5
+Jinja2==2.9.5
+numpy==1.12.1
+paramiko==2.1.2
+pbr==2.0.0
+prettytable==0.7.2
+six==1.10.0
+PyYAML==3.12
 
 # process, which may cause wedges in the gate later.
 
 mock
-pip_check_reqs
 pykwalify
 pytest
 pytest-cov
 pytest-faker
 pytest-mock
-tox
+pip_check_reqs
+pipreqs
 
+ansible
 click
-pyyaml
-paramiko
 connexion
+Jinja2
 numpy
+paramiko
 pbr
-ConfigParser
 prettytable
+six
+PyYAML
 
 install_command = pip install -U {opts} {packages}
 deps =
   -rrequirements.txt
-  -rtest-requirements.txt
+  -rrequirements-test.txt
 commands=
   py.test \
     --basetemp={envtmpdir} \
 exclude = build,dist,doc,legacy,.eggs,.git,.tox,.venv
 
 [testenv:reqs]
-deps=-rtest-requirements.txt
+deps=-rrequirements/test.txt
 commands=
     pip-missing-reqs qtip
     pip-extra-reqs qtip
+    pipreqs qtip --savepath requirements-frozen.txt
 
 [pytest]
 testpaths = tests