summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2012-07-06 21:55:18 +0000
committerGerrit Code Review <review@openstack.org>2012-07-06 21:55:18 +0000
commit41f8843b82be6f0de2a5fee7ac98f4db49aaedc5 (patch)
tree0bf4e99b4c78c113f1b1574f8182f9e4b163e3bb
parent81cb2ab2f5b7bdcd372491731750687e31c15ae2 (diff)
parent04df79b64e5f2296df03579700535774e158f623 (diff)
Merge "Run pep8 for tests."
-rwxr-xr-xrun_tests.sh2
-rw-r--r--tests/test_backend_ldap.py1
2 files changed, 1 insertions, 2 deletions
diff --git a/run_tests.sh b/run_tests.sh
index 68e028a2..a225d78d 100755
--- a/run_tests.sh
+++ b/run_tests.sh
@@ -108,7 +108,7 @@ function run_pep8 {
ignore_dirs="*ajaxterm*"
GLOBIGNORE="$ignore_scripts:$ignore_files:$ignore_dirs"
srcfiles=`find bin -type f ! -name .*.swp`
- srcfiles+=" keystone"
+ srcfiles+=" keystone tests"
# Just run PEP8 in current environment
${wrapper} pep8 --repeat --show-pep8 --show-source \
--exclude=vcsversion.py ${srcfiles} | tee pep8.txt
diff --git a/tests/test_backend_ldap.py b/tests/test_backend_ldap.py
index f81f0eb9..7dfb29a4 100644
--- a/tests/test_backend_ldap.py
+++ b/tests/test_backend_ldap.py
@@ -146,4 +146,3 @@ class LDAPIdentity(test.TestCase, test_backend.IdentityTests):
user_api = identity_ldap.UserApi(CONF)
self.assertTrue(user_api)
self.assertEquals(user_api.tree_dn, "ou=Users,%s" % CONF.ldap.suffix)
-