mirror of
https://github.com/nvbn/thefuck.git
synced 2025-02-22 12:58:33 +00:00
11 lines
229 B
Python
11 lines
229 B
Python
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
|