1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-08-02 07:43:09 +00:00
Mirror
Go to file
feiniks b5b37e69e0
Add check Authorization header (#686)
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-08-29 15:28:41 +08:00
.github/workflows Delete RepoTokenPeerInfo when del repo (#684) 2024-08-22 18:08:29 +08:00
ci
common Add check Authorization header (#686) 2024-08-29 15:28:41 +08:00
controller
doc
fileserver Add check Authorization header (#686) 2024-08-29 15:28:41 +08:00
fuse Merge branch '11.0' 2024-07-16 17:37:24 +08:00
include Add gen_jwt_token RPC (#674) 2024-07-31 18:03:41 +08:00
lib Create repo add pwd_hash and don't read pwd_hash from seafile.conf (#665) 2024-07-16 16:42:37 +08:00
m4
notification-server Add timeout when query from database (#685) 2024-08-29 15:10:55 +08:00
python Add gen_jwt_token RPC (#674) 2024-07-31 18:03:41 +08:00
scripts Don't create repo_id unique index (#679) 2024-08-09 17:45:43 +08:00
server Add check Authorization header (#686) 2024-08-29 15:28:41 +08:00
tests Add last_modify field in form (#666) 2024-07-23 18:52:15 +08:00
tools
.gitignore
autogen.sh
configure.ac Merge branch '11.0' 2024-07-16 17:37:24 +08:00
LICENSE.txt
Makefile.am get nickname from seahub database (#663) 2024-07-10 16:34:33 +08:00
pytest.ini
README.markdown
README.testing.md
run_tests.sh
updateversion.sh

Seafile Server Tests

Run it locally

To run the tests, you need to install pytest first:

pip install -r ci/requirements.txt

Compile and install ccnet-server and seafile-server

cd ccnet-server
make
sudo make install

cd seafile-server
make
sudo make install

Then run the tests with

cd seafile-server
./run_tests.sh

By default the test script would try to start ccnet-server and seaf-server in /usr/local/bin, if you make install to another location, say /opt/local, run it like this:

SEAFILE_INSTALL_PREFIX=/opt/local ./run_tests.sh