Integration tests for main functionality provided by python wrapper for NextCloud API.
First, build, create and start containers for services in docker-compose:
docker-compose up
Enable NextCloud groupfolders application:
docker-compose exec --user www-data app /bin/bash -c \
"cp -R /tmp/groupfolders /var/www/html/custom_apps/groupfolders && php occ app:enable groupfolders"
Run tests:
docker-compose run --rm python-api python -m pytest ../
Run examples:
docker-compose run --rm python-api python ../example.py