beforeRunningCommand nop command #!/bin/bash DOTFILES=/Users/niko/git/dotfiles/ echo "<html><body><pre>" if [[ "$TM_SELECTED_TEXT" == "" ]] then /usr/bin/env py.test $TM_FILEPATH # | $DOTFILES/bin/pytestmate/pytestmate.py else /usr/bin/env py.test $TM_FILEPATH -k $TM_SELECTED_TEXT # | $DOTFILES/bin/pytestmate/pytestmate.py fi echo "</html></body></pre>" input selection keyEquivalent @R name Run py.test (selection) output showAsHTML scope source.python uuid C80BE0D7-99E8-4B6E-8CAF-6103DA68710E