#!/bin/bash
echo "========================================="
echo "Running unittests"
echo "========================================="
echo "WARNING these tests should not be run on production"
read -p "Are you sure you want to continue [Y/y]: "  cont

if [ $cont = "Y" ]; then
    echo "Running tests"
    winpty docker-compose exec mlsb python -m unittest discover -s api/test
elif [  $cont = "y" ]; then
    echo "Running tests"
    winpty docker-compose exec mlsb python -m unittest discover -s api/test
else
    echo "Not running tests, have a nice day"
fi



#!/bin/bash
echo "========================================="
echo "Running unittests"
echo "========================================="
echo "WARNING these tests should not be run on production"
read -p "Are you sure you want to continue [Y/y]: "  cont

if [ $cont = "Y" ]; then
    echo "Running tests"
    winpty docker-compose exec mlsb python -m unittest discover -s api/test -p test*.py
elif [  $cont = "y" ]; then
    echo "Running tests"
    winpty docker-compose exec mlsb python -m unittest discover -s api/test -p test*.py
else
    echo "Not running tests, have a nice day"
fi



Update so does not run test suites
Update so does not run test suites
