Skip to content
Snippets Groups Projects
Commit 9ef9c6a3 authored by David Trattnig's avatar David Trattnig
Browse files

Rename "test" to "tests". engine#50

parent 96c5d898
No related branches found
No related tags found
No related merge requests found
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
"type": "python", "type": "python",
"request": "launch", "request": "launch",
"program": "${workspaceFolder}/src/app.py", "program": "${workspaceFolder}/src/app.py",
"args": ["config=test/config/engine-0-api.ini"], "args": ["config=tests/config/engine-0-api.ini"],
"console": "integratedTerminal" "console": "integratedTerminal"
}, },
{ {
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
"type": "python", "type": "python",
"request": "launch", "request": "launch",
"program": "${workspaceFolder}/src/app.py", "program": "${workspaceFolder}/src/app.py",
"args": ["config=test/config/engine-1-api.ini"], "args": ["config=tests/config/engine-1-api.ini"],
"console": "integratedTerminal" "console": "integratedTerminal"
}, },
{ {
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
"type": "python", "type": "python",
"request": "launch", "request": "launch",
"program": "${workspaceFolder}/src/app.py", "program": "${workspaceFolder}/src/app.py",
"args": ["config=test/config/engine-2-api.ini"], "args": ["config=tests/config/engine-2-api.ini"],
"console": "integratedTerminal" "console": "integratedTerminal"
} }
] ]
......
...@@ -55,19 +55,19 @@ if [[ $docker == "false" ]]; then ...@@ -55,19 +55,19 @@ if [[ $docker == "false" ]]; then
# echo "Building Web Applications" # echo "Building Web Applications"
# sh ./script/build-web.sh # sh ./script/build-web.sh
echo "Starting API Server 0" echo "Starting API Server 0"
/usr/bin/env python3.7 src/app.py config=test/config/engine-0-api.ini /usr/bin/env python3.7 src/app.py config=tests/config/engine-0-api.ini
fi fi
if [[ $mode == "api-test-1" ]]; then if [[ $mode == "api-test-1" ]]; then
# echo "Building Web Applications" # echo "Building Web Applications"
# sh ./script/build-web.sh # sh ./script/build-web.sh
echo "Starting API Server 1" echo "Starting API Server 1"
/usr/bin/env python3.7 src/app.py config=test/config/engine-1-api.ini /usr/bin/env python3.7 src/app.py config=tests/config/engine-1-api.ini
fi fi
if [[ $mode == "api-test-2" ]]; then if [[ $mode == "api-test-2" ]]; then
# echo "Building Web Applications" # echo "Building Web Applications"
# sh ./script/build-web.sh # sh ./script/build-web.sh
echo "Starting API Server 2" echo "Starting API Server 2"
/usr/bin/env python3.7 src/app.py config=test/config/engine-2-api.ini /usr/bin/env python3.7 src/app.py config=tests/config/engine-2-api.ini
fi fi
### Runs the API Server using Gunicorn without a system daemon (Production) ### ### Runs the API Server using Gunicorn without a system daemon (Production) ###
......
File moved
File moved
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment