This commit is contained in:
MSalvaris 2017-09-27 16:21:39 +01:00
Родитель 29c3adec87
Коммит 21e2dca9cf
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -10,7 +10,7 @@ sleep 10
# Simple API test # Simple API test
echo "Testing API" echo "Testing API"
reply=$(curl http://0.0.0.0:88/version) reply=$(curl -s http://0.0.0.0:88/version)
if [[ $reply == 2.0rc1 ]]; then if [[ $reply == 2.0rc1 ]]; then
echo -e "Successfully validated version API call" echo -e "Successfully validated version API call"
else else
@ -20,9 +20,9 @@ fi
# Testing classification # Testing classification
echo "Testing Classification" echo "Testing Classification"
source anaconda/bin/activate source ~/anaconda/bin/activate root
result=$(python test/classify.py) result=$(python test/classify.py)
source anaconda/bin/deactivate source ~/anaconda/bin/deactivate
echo $result echo $result