seafile/tests/sync-auto-test
Jiaqiang Xu 8685d82d05 [test] Update client auto sync tests.
- Make each test case "unit test" by separating the test directories.
- Complete upload/download tests.
2015-10-22 16:02:45 +08:00
..
cli1 [tests] Auto sync tests (by jyelee). 2015-09-25 15:18:59 +08:00
cli2 [tests] Auto sync tests (by jyelee). 2015-09-25 15:18:59 +08:00
test_cases [test] Update client auto sync tests. 2015-10-22 16:02:45 +08:00
README.md [tests] Auto sync tests (by jyelee). 2015-09-25 15:18:59 +08:00
__init__.py [tests] Auto sync tests (by jyelee). 2015-09-25 15:18:59 +08:00
requirements.txt [tests] Auto sync tests (by jyelee). 2015-09-25 15:18:59 +08:00
run.sh.template [tests] Auto sync tests (by jyelee). 2015-09-25 15:18:59 +08:00
seaf_op.py [tests] Auto sync tests (by jyelee). 2015-09-25 15:18:59 +08:00
setting.py [tests] Auto sync tests (by jyelee). 2015-09-25 15:18:59 +08:00
test.conf.template [tests] Auto sync tests (by jyelee). 2015-09-25 15:18:59 +08:00
util.py [test] Update client auto sync tests. 2015-10-22 16:02:45 +08:00

README.md

Prerequisite

pip install -r requirements.txt

Run

  1. cp run.sh.template run.sh && cp test.conf.template test.conf
  2. modify PYTHONPATH, PATH in run.sh
    • note you must copy seafile related site_packages to test machine and point the path in PYTHONPATH
    • note you must point seaf-daemon, ccnet file path in PATH
  3. modify server_url, user, password in test.conf
  4. start seahub server
  5. execute ./run.sh test