python library for accessing seafile data model
* S3V2 with path-style request using list-objects API to list bucket * Update python version for c * Add lxml dep --------- Co-authored-by: 杨赫然 <heran.yang@seafile.com> |
||
---|---|---|
.github/workflows | ||
ci | ||
objwrapper | ||
seafobj | ||
tests | ||
.functests | ||
.gitignore | ||
.pylint | ||
.unittests | ||
copy_data.py | ||
do-pycscope.sh | ||
LICENSE.txt | ||
Makefile | ||
pylintrc | ||
README.md | ||
requirements.txt | ||
run_test.sh | ||
test-requirements.txt |
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.