Skip to content

PermanentOrg/functional-test

Repository files navigation

main build status

Functional Test

This repository contains a simply functional test for Permanent.org. It is designed to test that the application can successfully upload and process file types that is needs to support.

Run instructions

First, download the canonical file dataset. Save it to a sibling directory named "files".

Then, set up the virtual environment, install the dependencies, and run the script!

python3 -m venv venv
source venv/bin/activate
pip install -r requirements-dev.txt
python3 -m permanent_upload dev ../files/

See python3 -m permanent_upload -h for more information about the arguments it accepts.

In Powershell, use .\venv\Scripts\activate instead of source venv/bin/activate

The test can also be run from the "Actions" tab.

About

A file upload integration test based on the Permanent API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages