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