project-ize testAPI
[releng.git] / utils / test / result_collection_api / run_test.sh
1 #! /bin/bash
2
3 # Before run this script, make sure that testtools and discover
4 # had been installed in your env
5 # or else using pip to install them as follows:
6 # pip install testtools, discover
7
8 find . -type f -name "*.pyc" -delete
9 testrargs="discover ./opnfv_testapi/tests/unit"
10 python -m testtools.run $testrargs