summaryrefslogtreecommitdiffstats
path: root/test/unit/gluster/test_gfapi.py
diff options
context:
space:
mode:
authorThiago da Silva <thiago@redhat.com>2015-07-10 23:25:50 -0400
committerThiago da Silva <thiago@redhat.com>2015-07-10 23:32:20 -0400
commit1ec40d0753e7d5185a7fc810df33370330fc6f90 (patch)
treec2b1f1002dcfc152b1d601478b649c44d1dd069c /test/unit/gluster/test_gfapi.py
parentcd6e853a5f7c6faa26822fb7669d16ce57997744 (diff)
fix unit test due to changes in mock
Change-Id: Ica8a7443fa398d9c02e1658700dc067155e0913e Signed-off-by: Thiago da Silva <thiago@redhat.com>
Diffstat (limited to 'test/unit/gluster/test_gfapi.py')
-rw-r--r--test/unit/gluster/test_gfapi.py2
1 files changed, 1 insertions, 1 deletions
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")