1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-05-13 10:25:46 +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]
python_files=test*.py
python_files=test_*.py tests.py
addopts = -s -v
DJANGO_SETTINGS_MODULE=seahub.settings

View File

View File

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