Module Import alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias FunctionDef arguments args NameParam defaults body Assert Call NameLoad NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr UnaryOpNot Call NameLoad NameLoad Str NameLoad keyword Str Call AttributeLoad AttributeLoad NameLoad attr attr Str ListLoad Call NameLoad keyword Str keyword Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad keyword NameLoad Assert Call NameLoad NameLoad Assert AttributeLoad AttributeLoad NameLoad attr attr Assert AttributeLoad NameLoad attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr Str ListLoad TupleLoad Call NameLoad keyword Str keyword Str ListLoad TupleLoad Str Str TupleLoad Str Str TupleLoad Call NameLoad keyword Str keyword Str ListLoad TupleLoad Str Str TupleLoad Str Str Call NameLoad Str keyword NameLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword Str FunctionDef arguments args NameParam defaults body Assert UnaryOpNot Call NameLoad NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr UnaryOpNot Call NameLoad NameLoad Str NameLoad keyword Str Call AttributeLoad AttributeLoad NameLoad attr attr Str ListLoad Call NameLoad keyword Str keyword Str Call NameLoad keyword Str keyword Str Call NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad keyword NameLoad Assert UnaryOpNot Call NameLoad NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr Str ListLoad TupleLoad Call NameLoad keyword Str keyword Str ListLoad TupleLoad Call NameLoad keyword Str keyword Str ListLoad TupleLoad Call NameLoad ListLoad Call NameLoad Str keyword NameLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword Str FunctionDef arguments args NameParam NameParam defaults body Assert CompareEq Call NameLoad NameLoad NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr UnaryOpNot Call NameLoad NameLoad Str NameLoad keyword Str Call AttributeLoad AttributeLoad NameLoad attr attr Str ListLoad TupleLoad Call NameLoad Str Str TupleLoad Call NameLoad Str Str TupleLoad Call NameLoad Str Str TupleLoad Call NameLoad Str Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad keyword NameLoad Assert CompareEq Call NameLoad NameLoad NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr Str ListLoad TupleLoad Call NameLoad Str Str ListLoad TupleLoad Str Str TupleLoad Str Str TupleLoad Call NameLoad Str Str ListLoad TupleLoad Str Str TupleLoad Str Str TupleLoad Call NameLoad Str Str ListLoad TupleLoad Str Str TupleLoad Str Str TupleLoad Call NameLoad Str Str ListLoad TupleLoad Str Str TupleLoad Str Str Call NameLoad Str keyword NameLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword Str
N/A N/A pytest mock Mock patch thefuck.rules apt_get thefuck.rules.apt_get match get_new_command tests.utils Command test_match N/A N/A command N/A N/A N/A N/A match command N/A N/A N/A N/A pytest mark skipif N/A N/A getattr apt_get enabled_by_default True reason Skip if python-commandnotfound is not available N/A N/A N/A pytest mark parametrize command N/A N/A Command script vim stderr vim: command not found test_match_mocked N/A N/A cmdnf_mock command return_value N/A N/A N/A get_packages N/A Mock return_value return_value N/A N/A N/A cmdnf_mock CommandNotFound return_value N/A Mock getPackages get_packages N/A N/A match command N/A N/A N/A cmdnf_mock CommandNotFound called N/A N/A get_packages called N/A N/A N/A N/A pytest mark parametrize command, return_value N/A N/A N/A Command script vim stderr vim: command not found N/A N/A vim main N/A vim-tiny main N/A N/A Command script sudo vim stderr vim: command not found N/A N/A vim main N/A vim-tiny main N/A patch thefuck.rules.apt_get.CommandNotFound create True N/A N/A patch multiple apt_get create True apt_get apt_get test_not_match N/A N/A command N/A N/A N/A N/A N/A match command N/A N/A N/A N/A pytest mark skipif N/A N/A getattr apt_get enabled_by_default True reason Skip if python-commandnotfound is not available N/A N/A N/A pytest mark parametrize command N/A N/A Command script a_bad_cmd stderr a_bad_cmd: command not found N/A Command script vim stderr N/A Command test_not_match_mocked N/A N/A cmdnf_mock command return_value N/A N/A N/A get_packages N/A Mock return_value return_value N/A N/A N/A cmdnf_mock CommandNotFound return_value N/A Mock getPackages get_packages N/A N/A N/A match command N/A N/A N/A N/A pytest mark parametrize command, return_value N/A N/A N/A Command script a_bad_cmd stderr a_bad_cmd: command not found N/A N/A N/A Command script vim stderr N/A N/A N/A Command N/A N/A patch thefuck.rules.apt_get.CommandNotFound create True N/A N/A patch multiple apt_get create True apt_get apt_get test_get_new_command N/A N/A command new_command N/A N/A N/A N/A N/A get_new_command command new_command N/A N/A N/A N/A pytest mark skipif N/A N/A getattr apt_get enabled_by_default True reason Skip if python-commandnotfound is not available N/A N/A N/A pytest mark parametrize command, new_command N/A N/A N/A Command vim sudo apt-get install vim && vim N/A N/A Command convert sudo apt-get install imagemagick && convert N/A N/A Command sudo vim sudo apt-get install vim && sudo vim N/A N/A Command sudo convert sudo apt-get install imagemagick && sudo convert test_get_new_command_mocked N/A N/A cmdnf_mock command new_command return_value N/A N/A N/A get_packages N/A Mock return_value return_value N/A N/A N/A cmdnf_mock CommandNotFound return_value N/A Mock getPackages get_packages N/A N/A N/A get_new_command command new_command N/A N/A N/A N/A pytest mark parametrize command, new_command, return_value N/A N/A N/A Command vim sudo apt-get install vim && vim N/A N/A vim main N/A vim-tiny main N/A N/A Command convert sudo apt-get install imagemagick && convert N/A N/A imagemagick main N/A graphicsmagick-imagemagick-compat universe N/A N/A Command sudo vim sudo apt-get install vim && sudo vim N/A N/A vim main N/A vim-tiny main N/A N/A Command sudo convert sudo apt-get install imagemagick && sudo convert N/A N/A imagemagick main N/A graphicsmagick-imagemagick-compat universe N/A patch thefuck.rules.apt_get.CommandNotFound create True N/A N/A patch multiple apt_get create True apt_get apt_get