summaryrefslogtreecommitdiff
path: root/tests/unittests/helpers.py
diff options
context:
space:
mode:
authorJoshua Harlow <harlowja@yahoo-inc.com>2012-08-31 18:28:12 -0700
committerJoshua Harlow <harlowja@yahoo-inc.com>2012-08-31 18:28:12 -0700
commita7bd5c448a6eda8b3d841f2dd5c73ed3956fe3c3 (patch)
treed75468f396502dc3e7a1fbda2fd268105f9b682b /tests/unittests/helpers.py
parentc2e5c6fd4dc917d2d4fb23569b1615b76c695201 (diff)
downloadvyos-cloud-init-a7bd5c448a6eda8b3d841f2dd5c73ed3956fe3c3.tar.gz
vyos-cloud-init-a7bd5c448a6eda8b3d841f2dd5c73ed3956fe3c3.zip
Fix pylint complaints.
Diffstat (limited to 'tests/unittests/helpers.py')
-rw-r--r--tests/unittests/helpers.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unittests/helpers.py b/tests/unittests/helpers.py
index 60891191..d0f09e70 100644
--- a/tests/unittests/helpers.py
+++ b/tests/unittests/helpers.py
@@ -22,7 +22,8 @@ class ResourceUsingTestCase(MockerTestCase):
if os.path.isdir(p):
self.resource_path = p
break
- self.assertTrue((self.resource_path and os.path.isdir(self.resource_path)),
+ self.assertTrue((self.resource_path and
+ os.path.isdir(self.resource_path)),
msg="Unable to locate test resource data path!")
if not subname:
return self.resource_path