All the Workflows, Tasks and Images that come with the DropPy macOS app.
For simplicity the version of droppy-workspace that is bundled inside DropPy does not contain the tests themselves (
test_task.py files in Task sub-directories) and the sample files needed by the tests (directory
If you are interested in the tests check out this repository, extract it, and adjust Preferences - Workspace - Workspace directory in DropPy accordingly.
Make sure the pytest package is installed for the Python interpreter you want to test with:
python -m pytest --version > This is pytest version 3.2.3, imported from /Library/Python/2.7/site-packages/pytest.pyc python3 -m pytest --version > This is pytest version 3.2.3, imported from /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pytest.py
Install it if it is not:
pip install pytest pip3 install pytest
Change into the directory of the Task you want to test:
Execute pytest using the interpreter of your choice here:
python -B -m pytest -v python3 -B -m pytest -v
Running pytest over the complete
Tasks directory at once is not possible because for DropPy all modules need to have the same filename
This is a structure pytest doesn't get along with. The tests need to be run for each Task separately.
To automate this two scripts are provided:
cd ~/Development/droppy-workspace/Test . run_all_py27.sh . run_all_py36.sh