Files
thefuck/thefuck/rules/test.py.py
T
2017-08-31 17:58:56 +02:00

11 lines
209 B
Python

def match(command):
return command.script == 'test.py' and 'not found' in command.output
def get_new_command(command):
return 'py.test'
# make it come before the python_command rule
priority = 900