From b29164198523591a69b234e869b7a1b94bd4f08e Mon Sep 17 00:00:00 2001 From: Peter Portante Date: Thu, 23 May 2013 16:34:24 -0400 Subject: Add DiskDir unit test skeleton and pep8 filter The new DiskDir unit test skeleton is quite incomplete, but gets the DiskDir module on the board for modules covered, explicitly exposing the fact that we need to get test coverage. This is a first step. At the same time, we also update all the modules we have applying the fix for pep8 errors now run under tox. We can then add a Jenkins pre-commit job to fail on pep8 errors. This brings our code to parity with what they are doing in OpenStack Swift. Change-Id: Ia0565606512efda6e73f67bd00269177b89db858 Signed-off-by: Peter Portante Reviewed-on: http://review.gluster.org/5080 Reviewed-by: Luis Pabon Tested-by: Luis Pabon --- tools/test-requires | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tools') diff --git a/tools/test-requires b/tools/test-requires index ef8bf14..e2941a0 100644 --- a/tools/test-requires +++ b/tools/test-requires @@ -1,3 +1,8 @@ +# Install bounded pep8/pyflakes first, then let flake8 install +pep8==1.4.5 +pyflakes==0.7.2 +flake8==2.0 + coverage nose nosexcover -- cgit