From 4fe135300dbb7b7c9f3f0d0676ea76149414fb6b Mon Sep 17 00:00:00 2001 From: Alpha Date: Mon, 31 Aug 2015 01:28:53 -0400 Subject: Disable logging by default Superusers should not be required to use this API with default settings. Provide a disable_logging method of Volume. Ensure that set_logging gets called with new values. Change-Id: Ia27a682c96d6ca28f85d43f9d8483f08d1dc6367 Signed-off-by: Alpha 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 58bda89..8f631d4 100644 --- a/test/functional/libgfapi-python-tests.py +++ b/test/functional/libgfapi-python-tests.py @@ -1095,7 +1095,7 @@ class TestVolumeInit(unittest.TestCase): # Create volume object instance vol = Volume(HOST, VOLNAME) # Check attribute init - self.assertEqual(vol.log_file, None) + self.assertEqual(vol.log_file, "/dev/null") self.assertEqual(vol.log_level, 7) self.assertEqual(vol.host, HOST) self.assertEqual(vol.volname, VOLNAME) -- cgit