summaryrefslogtreecommitdiffstats
path: root/result_collection_api/run_test.sh
blob: 9b25f8ffc93fd3b7f421c923d52eff623622481b (plain)
1
2
3
4
5
6
7
8
9
10
#! /bin/bash

# Before run this script, make sure that testtools and discover
# had been installed in your env
# or else using pip to install them as follows:
# pip install testtools, discover

find . -type f -name "*.pyc" -delete
testrargs="discover ./opnfv_testapi/tests/unit"
python -m testtools.run $testrargs