Skip to content

Latest commit

 

History

72 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Stars

0 stars

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages