##// END OF EJS Templates
db: Change ordering of test env setup and db connection init....
db: Change ordering of test env setup and db connection init. - DB init sets rhodecode.model.db.ENCRYPTION_KEY - Test env setup resets rhodecode.model.db.ENCRYPTION_KEY to None - Therefore DB init has to be done after test env setup.

File last commit:

r1:854a839a default
r117:25511505 default
Show More
run_full_tests.sh
17 lines | 343 B | application/x-sh | BashLexer
#!/bin/sh
set -e
## MIGRATIONS AND DB TESTS ##
echo "DATABASE CREATION TESTS"
rhodecode/tests/database/test_creation.sh
echo "DATABASE MIGRATIONS TESTS"
rhodecode/tests/database/test_migration.sh
## TEST VCS OPERATIONS ##
echo "VCS FUNCTIONAL TESTS"
rhodecode/tests/test_vcs_operations.sh
## TOX TESTS ##
echo "TOX TESTS"
tox -r --develop