mirror of
https://github.com/haiwen/seafile.git
synced 2025-01-05 10:26:43 +08:00
8685d82d05
- Make each test case "unit test" by separating the test directories. - Complete upload/download tests. |
||
---|---|---|
.. | ||
cli1 | ||
cli2 | ||
test_cases | ||
__init__.py | ||
README.md | ||
requirements.txt | ||
run.sh.template | ||
seaf_op.py | ||
setting.py | ||
test.conf.template | ||
util.py |
Prerequisite
pip install -r requirements.txt
Run
- cp run.sh.template run.sh && cp test.conf.template test.conf
- 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
- modify server_url, user, password in test.conf
- start seahub server
- execute ./run.sh test