From 1ec40d0753e7d5185a7fc810df33370330fc6f90 Mon Sep 17 00:00:00 2001 From: Thiago da Silva Date: Fri, 10 Jul 2015 23:25:50 -0400 Subject: fix unit test due to changes in mock Change-Id: Ica8a7443fa398d9c02e1658700dc067155e0913e Signed-off-by: Thiago da Silva --- test/unit/gluster/test_gfapi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/unit/gluster/test_gfapi.py b/test/unit/gluster/test_gfapi.py index 62d7266..7206aa1 100644 --- a/test/unit/gluster/test_gfapi.py +++ b/test/unit/gluster/test_gfapi.py @@ -377,7 +377,7 @@ class TestVolume(unittest.TestCase): with patch("gluster.gfapi.api.glfs_init", _m_glfs_init): self.assertRaises(LibgfapiException, v.mount) self.assertFalse(v.mounted) - _m_glfs_init.assert_caled_once_with(v.fs) + _m_glfs_init.assert_called_once_with(v.fs) def test_umount_error(self): v = Volume("host", "vol") -- cgit