From 1266c51e57b32fd979a61ebfc73f93964223822f Mon Sep 17 00:00:00 2001 From: Prashanth Pai Date: Tue, 31 Jul 2018 15:22:04 +0530 Subject: Support setting multiple hosts (volfile servers) Fixes https://github.com/gluster/libgfapi-python/issues/20 Change-Id: If12dfb3166d37071f8996c4d043950aeb27d0ae7 Signed-off-by: Prashanth Pai --- test/functional/libgfapi-python-tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/functional/libgfapi-python-tests.py') 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) -- cgit