From 613beb4e87f3ba3990c8a6c2cc4cc72a32faec90 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Fri, 29 May 2015 14:19:43 -0400 Subject: Add pylint/pep8 checks to ./tests too Signed-off-by: Simo Sorce --- Makefile | 5 +++++ tests/custodia.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f6c0314..d22dccd 100644 --- a/Makefile +++ b/Makefile @@ -23,6 +23,11 @@ cscope: git ls-files | xargs pycscope test: + pylint -d c,r,i,W0613 -r n -f colorized \ + --notes= \ + --disable=star-args \ + ./tests + pep8 tests rm -f .coverage nosetests -s diff --git a/tests/custodia.py b/tests/custodia.py index 4243047..c0c899d 100644 --- a/tests/custodia.py +++ b/tests/custodia.py @@ -4,6 +4,7 @@ from __future__ import absolute_import from tests.client import LocalConnection import json import os +import signal import subprocess import time import unittest @@ -54,4 +55,3 @@ class CustodiaTests(unittest.TestCase): def test_simple_2_del_key(self): r = self._make_request('DELETE', '/secrets/test/key', self.dfl_headers) self.assertEqual(r.status, 204) - -- cgit