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:
parent
af498d2d20
commit
1211677746
@ -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
|
||||||
|
0
tests/seahub/registraion/__init__.py
Normal file
0
tests/seahub/registraion/__init__.py
Normal 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
|
||||||
|
Loading…
Reference in New Issue
Block a user