summaryrefslogtreecommitdiffstats
path: root/test/functional/libgfapi-python-tests.py
diff options
context:
space:
mode:
authorPrashanth Pai <ppai@redhat.com>2018-07-31 15:22:04 +0530
committerPrashanth Pai <ppai@redhat.com>2018-07-31 15:26:18 +0530
commit1266c51e57b32fd979a61ebfc73f93964223822f (patch)
treed1ee8b4679b3b30dc72abe46ca8adec90e0bb0c3 /test/functional/libgfapi-python-tests.py
parent4991e72186e64152ea32286a8e2e73ebf651f30f (diff)
Support setting multiple hosts (volfile servers)
Fixes https://github.com/gluster/libgfapi-python/issues/20 Change-Id: If12dfb3166d37071f8996c4d043950aeb27d0ae7 Signed-off-by: Prashanth Pai <ppai@redhat.com>
Diffstat (limited to 'test/functional/libgfapi-python-tests.py')
-rw-r--r--test/functional/libgfapi-python-tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/libgfapi-python-tests.py b/test/functional/libgfapi-python-tests.py
index a699d8c..f6cc0fb 100644
--- a/test/functional/libgfapi-python-tests.py
+++ b/test/functional/libgfapi-python-tests.py
@@ -1120,7 +1120,7 @@ class TestVolumeInit(unittest.TestCase):
# Check attribute init
self.assertEqual(vol.log_file, "/dev/null")
self.assertEqual(vol.log_level, 7)
- self.assertEqual(vol.host, HOST)
+ self.assertEqual(vol.hosts[0], HOST)
self.assertEqual(vol.volname, VOLNAME)
self.assertEqual(vol.port, 24007)
self.assertFalse(vol.mounted)