From 05c5c85276e335cb9cf44d5587da7f7341af1573 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Sat, 3 Mar 2012 21:56:11 -0500 Subject: [PATCH] Added tests for the guts of the program (Runner()) and modules. Idea is to run everything as the logged in user using local checkout and write to a tempdir. To run tests, be sure user is in SSH authorized_keys for themselves, this DOES run through paramiko because mocking it out would defeat the point of having tests. --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index fe82cbaf4a1..c950f15f87d 100644 --- a/Makefile +++ b/Makefile @@ -7,6 +7,9 @@ SITELIB = $(shell python -c "from distutils.sysconfig import get_python_lib; pri all: clean python +tests: + PYTHONPATH=./lib nosetests + docs: manuals manuals: $(MANPAGES)