1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-02 07:47:32 +00:00

[tests] Fix error

This commit is contained in:
zhengxie 2015-05-15 11:23:56 +08:00
parent af498d2d20
commit 1211677746
3 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
[pytest] [pytest]
python_files=test*.py python_files=test_*.py tests.py
addopts = -s -v addopts = -s -v
DJANGO_SETTINGS_MODULE=seahub.settings DJANGO_SETTINGS_MODULE=seahub.settings

View File

View File

@ -67,7 +67,7 @@ function check_phantom_js() {
function run_tests() { function run_tests() {
check_phantom_js check_phantom_js
set +e set +e
py.test $nose_opts py.test $nose_opts tests
rvalue=$? rvalue=$?
if [[ ${TRAVIS} != "" ]]; then if [[ ${TRAVIS} != "" ]]; then
# On travis-ci, dump seahub logs when test finished # On travis-ci, dump seahub logs when test finished