prod-wag-backend-automate-s.../run_mongo_tests.sh

14 lines
340 B
Bash
Executable File

#!/bin/bash
# Set MongoDB environment variables
export MONGO_ENGINE=mongodb
export MONGO_DB=admin
export MONGO_HOST=10.10.2.13
export MONGO_PORT=27017
export MONGO_USER=admin
export MONGO_AUTH_DB=admin
export MONGO_PASSWORD=password
# Run the tests
python -c "from Controllers.Mongo.implementations import run_all_tests; run_all_tests()"