aboutsummaryrefslogtreecommitdiffstats
path: root/tox.ini
AgeCommit message (Collapse)AuthorFilesLines
2017-04-20Automate QTIP upload to PyPI.Taseer1-0/+6
Change-Id: I3be05a75551ca8648f6ea7dea35f1180178e5b7d Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-03-31Reorganize requirementsYujun Zhang1-2/+3
- 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>
2017-02-22Update tox to produce coverage reportJulien1-0/+2
JIRA:QTIP-204 Change-Id: If77558ed2f6e454b4abebdbb185755925d91c963 Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2017-02-21Move coverage config to .coveragercYujun Zhang1-1/+1
.coveragerc will be used by tox, pytest, PyCharm and etc Change-Id: I1f128231cda5f3ebffff9e99b1de9134c78fcc00 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-02-05Add test coverageYujun Zhang1-2/+3
Change-Id: I9bff5fb1be3edc57d27cfe44f210a2814efd2274 JIRA: QTIP-204 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-02-05Fix bug that metric test is not collectedYujun Zhang1-0/+4
Change-Id: I2e05891a89745712274757ba9af928b03fb5edf6 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-02-01Removed unused depsYujun Zhang1-0/+6
Change-Id: I7215c0c3f2957e88b2a048c45a5b99739707f15b Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-01-20Enable pep8 in tox test by defaultYujun Zhang1-1/+1
Check it locally before submit for verification by opnfv-lint task Change-Id: I2736d53e82a87d39a7316036aa97105bb13fec2f Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-01-11Reorganize the project foldersYujun Zhang1-1/+1
Code from Brahmaputra is no longer maintained, including: - docker - playbooks - scripts - utils They are moved to legacy folder to avoid unnecessary confusion to new developers. Change-Id: Ia50383ca5c3bd82571eb7b2184e7f83e264ff8a7 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-11-29Enable all unit tests except two failed casesYujun Zhang1-1/+1
- `test_ping` in `env_setup_test` still halts - `test_prepare_and_run_benchmark_successful` in `args_handler_test` fails - excluded `pep8` since already coverred by opnfv-lint task Change-Id: Ib5ea20c37a27e356aea6d8eed3750b3269bd67f4 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-11-25Fix test failingYujun Zhang1-3/+3
- skip several failure cases, to be fixed in future - rename `test_plan` to hide from test discovering - add pep8 check by default - fix errors in pep8 check Change-Id: If4451999a1f4ed1339dfdf8271cc58f11de72b3e Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-11-25Fix exception caused by missing log folderYujun Zhang1-0/+1
Change-Id: I3a73cc0366e2c1a9c5965367ea68138f36ff1d63 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-11-24Use `pbr` for setup configurationYujun Zhang1-0/+2
- `pbr` does a bunch of things[1] and is used widely in OpenStack - moved legacy `qtip.py` to scripts in order to keep the project folder clean [1]: http://docs.openstack.org/developer/pbr/#what-it-does Change-Id: I6a9b83883283eaa527e2c3d4cd8d221ee6efca41 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-11-24Allow select test case to runYujun Zhang1-3/+3
- remove hardcoded argument `tests` from tox.ini - use command like `tox tests/unit/runner` for selective running - `tox` without argument will run all test in `tests` folder Change-Id: I3916dc571e85c785f83813aa30c5bb0ef9a65cd6 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-07-05Add some UT test cases and fix pep8 errors for cli and env_setup.zhifeng.jiang1-6/+7
JIRA:QTIP-89 Change-Id: I4a46898071001f679f1a032a560d605dffc8eb9f Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-06-13Add the tox.ini and requirement list so that we can start pep8 check by "tox ↵zhifeng.jiang1-0/+31
-e pep8" JIRA:QTIP-89 Change-Id: Iff0792e2503be73865aa21c2995f1fb2252442fb Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>