diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_discover_volumes.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_discover_volumes.py b/tests/test_discover_volumes.py index 0a61ba7..1e72933 100644 --- a/tests/test_discover_volumes.py +++ b/tests/test_discover_volumes.py @@ -39,12 +39,12 @@ class TestDiscoverVolumes(TestCaseBase): if volumeName: return {volumeName: volumes.get(volumeName)} else: - return volumes + return volumes def _getBrickByHostAndPath(self, bricksList, hostUuid, path): for brick in bricksList: if brick.get('hostUuid') == hostUuid and \ - brick.get('brickpath') == path: + brick.get('brickpath') == path: return brick return None |