This project provides the web API for the PTero Workflow system of services.
The workflows are driven using an implementation of Petri nets with some extensions for color and token data.
The other existing components are: the petri core service and a forking shell command service.
The tests for this service depend on a running petri and forking shell command service. To run the tests, first install some tools:
pip install tox
Then setup the petri service and the shell-command service. In the parent directory:
git clone https://github.com/vectis/ptero-petri.git
git clone https://github.com/vectis/ptero-shell-command.git
And in the ptero-workflow directory:
ln -s ../ptero-petri
ln -s ../ptero-shell-command
Now, you can run the tests using tox:
tox -e py27
To see a coverage report after successfully running the tests:
coverage report