Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 935 Bytes

README.md

File metadata and controls

24 lines (15 loc) · 935 Bytes

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.