summaryrefslogtreecommitdiff
path: root/tests/unittests/helpers.py
diff options
context:
space:
mode:
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