Eric Larson  committed 9ff5797

fixed up the preceding comments to make sure the package is valid

  • Participants
  • Parent commits b334af4
  • Branches default

Comments (0)

Files changed (1)

-;; pytest.el --- Easy Python test running in Emacs
+;;; pytest.el --- Easy Python test running in Emacs
 ;; Copyright (C) 2009 Eric Larson
 ;; Version: 0.1.0
 ;; Keywords: pytest python testing
+;; URL:
 ;; Created: 07 Oct 2011
 ;; This file is NOT part of GNU Emacs.
 ;; In your emacs config:
-;; (require 'pytest)
-;; ; next line only for people with non-eco non-global test runners
-;; ; (add-to-list 'pytest-project-names "my/crazy/runner")
-;; This should be a file or script that will run the tests
+;;   (require 'pytest)
+;; If you don't use a global installation of py.test (ie in
+;; virtualenv) then add something like the following that points to
+;; either the non-global version or a test runner script.:
+;;   (add-to-list 'pytest-project-names "my/crazy/runner") This should
+;; You can generate a script with py.test:
+;;   py.test
-;; Note that if your global pytest isn't called "pytest", then you'll want to
+;; Another option is if your global pytest isn't called "pytest" is to 
 ;; redefine pytest-global-name to be the command that should be used.
 ;; By default, the root of a project is found by looking for any of the files
 ;; ; (setq pytest-project-root-test (lambda (dirname) (equal dirname "foo")))
-;; If you want dots as output, rather than the verbose output:
-;; (defvar pytest-use-verbose nil) ; default is t
 ;; Probably also want some keybindings:
 ;; (add-hook 'python-mode-hook
 ;;           (lambda ()
 (defun pytest-pdb-directory (&optional debug)
   "run pytest on all the files in the current buffer"
-  (pytest-directory t)
+  (pytest-directory t))
 ;;; Run all the tests in a file
 (defun pytest-module (&optional debug)