Add a test.py rule

This commit is contained in:
mcarton
2015-06-26 14:04:25 +02:00
parent 3203d57b36
commit 369ea7ff46
2 changed files with 11 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
def match(command, settings):
return command.script == 'test.py' and 'not found' in command.stderr
def get_new_command(command, settings):
return 'py.test'
# make it come before the python_command rule
priority = 900