mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-25 14:50:29 +00:00
redirect test server stdout
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
casper.test.begin('Log in and out function well', 5, function suite(test) {
|
casper.test.begin('Log in and out function well', 5, function suite(test) {
|
||||||
|
|
||||||
casper.start('http://127.0.0.1L:8000/accounts/login', function() {
|
casper.start('http://127.0.0.1:8000/accounts/login', function() {
|
||||||
test.assertExists('form', 'login form is found');
|
test.assertExists('form', 'login form is found');
|
||||||
this.fill('form', {
|
this.fill('form', {
|
||||||
username: 'test@test.com',
|
username: 'test@test.com',
|
||||||
|
@@ -26,7 +26,7 @@ function init() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function start_seahub() {
|
function start_seahub() {
|
||||||
./manage.py runserver &
|
./manage.py runserver 1>/dev/null &
|
||||||
}
|
}
|
||||||
|
|
||||||
function run_tests() {
|
function run_tests() {
|
||||||
|
Reference in New Issue
Block a user