From 81734f62f833b99faefd4584ba7f89acc97c0809 Mon Sep 17 00:00:00 2001 From: Thiago da Silva Date: Tue, 8 Jul 2014 11:18:16 -0400 Subject: [PATCH] fix unit test reference to gluster.swift Changed it to swiftonfile.swift. Signed-off-by: Thiago da Silva --- test/unit/obj/test_diskfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/obj/test_diskfile.py b/test/unit/obj/test_diskfile.py index 3c41a91..57a3e56 100644 --- a/test/unit/obj/test_diskfile.py +++ b/test/unit/obj/test_diskfile.py @@ -962,7 +962,7 @@ class TestDiskFile(unittest.TestCase): } _mock_do_unlink = Mock() # Shouldn't be called - with patch("gluster.swift.obj.diskfile.do_unlink", _mock_do_unlink): + with patch("swiftonfile.swift.obj.diskfile.do_unlink", _mock_do_unlink): with gdf.create() as dw: assert dw._tmppath is not None tmppath = dw._tmppath