#!/bin/bash -e
export PYTHONPATH=$PYTHONPATH:`pwd`/../../src

echo "Running master api tests"
pytest master_tests/master_api_tests.py --log-level=DEBUG --durations=2 --junit-xml ../gw-unit-reports-3/MasterApiTest.xml


echo "Running master command tests"
pytest master_tests/master_command_tests.py --log-level=DEBUG --durations=2 --junit-xml ../gw-unit-reports-3/MasterCommandTest.xml


#!/bin/bash -e
export PYTHONPATH=$PYTHONPATH:`pwd`/../../src

echo "Running master api tests"
python3 master_tests/master_api_tests.py

echo "Running master command tests"
python3 master_tests/master_command_tests.py


--- 
+++ 
@@ -2,9 +2,8 @@
 export PYTHONPATH=$PYTHONPATH:`pwd`/../../src
 
 echo "Running master api tests"
-pytest master_tests/master_api_tests.py --log-level=DEBUG --durations=2 --junit-xml ../gw-unit-reports-3/MasterApiTest.xml
-
+python3 master_tests/master_api_tests.py
 
 echo "Running master command tests"
-pytest master_tests/master_command_tests.py --log-level=DEBUG --durations=2 --junit-xml ../gw-unit-reports-3/MasterCommandTest.xml
+python3 master_tests/master_command_tests.py
 
Use pytest instead of __main__
