python library for accessing seafile data model
Find a file
feiniks d2f8dae164
S3V2 with path-style request using list-objects API to list bucket (#93)
* 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>
2025-02-18 16:45:20 +08:00
.github/workflows S3V2 with path-style request using list-objects API to list bucket (#93) 2025-02-18 16:45:20 +08:00
ci S3V2 with path-style request using list-objects API to list bucket (#93) 2025-02-18 16:45:20 +08:00
objwrapper S3V2 with path-style request using list-objects API to list bucket (#93) 2025-02-18 16:45:20 +08:00
seafobj Update objstore_factory.py 2025-01-06 17:22:58 +08:00
tests Add obj unit test (#91) 2024-12-31 12:40:41 +08:00
.functests init 2014-04-24 18:27:15 +08:00
.gitignore Update .gitignore 2024-04-26 13:40:29 +08:00
.pylint init 2014-04-24 18:27:15 +08:00
.unittests support ceph backend 2014-05-13 19:26:55 +08:00
copy_data.py init 2014-04-24 18:27:15 +08:00
do-pycscope.sh init 2014-04-24 18:27:15 +08:00
LICENSE.txt Add Apache 2.0 license. 2016-07-28 11:41:05 +08:00
Makefile Fix make dist on Linux. 2014-12-25 20:25:41 +08:00
pylintrc init 2014-04-24 18:27:15 +08:00
README.md add test 2018-01-31 15:00:27 +08:00
requirements.txt add boto3 requirement 2023-07-27 18:52:35 +08:00
run_test.sh Add obj unit test (#91) 2024-12-31 12:40:41 +08:00
test-requirements.txt init 2014-04-24 18:27:15 +08:00

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.