Skip to content

Commit

Permalink
Merge pull request #760 from ufal/fast_unittest_invoke
Browse files Browse the repository at this point in the history
Use unittest discover instead of for loop
  • Loading branch information
jlibovicky committed Oct 3, 2018
2 parents 3913d9b + 148d485 commit 091ea8f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/unit-tests_run.sh
Expand Up @@ -3,6 +3,4 @@
set -ex
trap 'echo -e "\033[1;31mSome unit tests have failed!\033[0m"' ERR

for file in $(cd neuralmonkey/tests && echo *.py); do
python3 -m neuralmonkey.tests.${file%.py}
done
python3 -m unittest discover -v

0 comments on commit 091ea8f

Please sign in to comment.