haiwen / seafobj

python library for accessing seafile data model

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Test

Prepare

Environment

add seafobj to PYTHONPATH env

export PYTHONPATH=...../seafobj

Dependent

pip install -r test-requirements.txt
sudo apt-get install python-ceph python-rados
pip install boto

Configure File

update ./test/functional/data/ceph/seafile.conf configure file if you want test ceph storage system.

Run

run command python run_test.py --sotrage {{fs|ceph}}

Note

Test data will be migrate to ceph storage system when run ceph test case. So make sure it doesn't affect you.

About

python library for accessing seafile data model

License:Apache License 2.0


Languages

Language:Python 98.4%Language:Shell 1.2%Language:Makefile 0.3%