diff options
author | Simo Sorce <simo@redhat.com> | 2015-05-29 14:19:43 -0400 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2015-05-29 14:19:43 -0400 |
commit | 613beb4e87f3ba3990c8a6c2cc4cc72a32faec90 (patch) | |
tree | ce5ed81aeb94824a1a06b9dcb3d72a37aa76a6f0 | |
parent | 3319d29beb9a6c7f414ef535d1cfb151f576c5f1 (diff) | |
download | custodia-613beb4e87f3ba3990c8a6c2cc4cc72a32faec90.tar.gz custodia-613beb4e87f3ba3990c8a6c2cc4cc72a32faec90.tar.xz custodia-613beb4e87f3ba3990c8a6c2cc4cc72a32faec90.zip |
Add pylint/pep8 checks to ./tests too
Signed-off-by: Simo Sorce <simo@redhat.com>
-rw-r--r-- | Makefile | 5 | ||||
-rw-r--r-- | tests/custodia.py | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -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) - |