10 lines
394 B
EmacsLisp
10 lines
394 B
EmacsLisp
|
(require 'nose)
|
||
|
(add-hook 'python-mode-hook
|
||
|
(lambda ()
|
||
|
(local-set-key "\C-ca" 'nosetests-all)
|
||
|
(local-set-key "\C-cm" 'nosetests-module)
|
||
|
(local-set-key "\C-c." 'nosetests-one)
|
||
|
(local-set-key "\C-cpa" 'nosetests-pdb-all)
|
||
|
(local-set-key "\C-cpm" 'nosetests-pdb-module)
|
||
|
(local-set-key "\C-cp." 'nosetests-pdb-one)))
|