fix unit test reference to gluster.swift
Changed it to swiftonfile.swift. Signed-off-by: Thiago da Silva <thiago@redhat.com>
This commit is contained in:
parent
a314f8825f
commit
81734f62f8
@ -962,7 +962,7 @@ class TestDiskFile(unittest.TestCase):
|
|||||||
}
|
}
|
||||||
|
|
||||||
_mock_do_unlink = Mock() # Shouldn't be called
|
_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:
|
with gdf.create() as dw:
|
||||||
assert dw._tmppath is not None
|
assert dw._tmppath is not None
|
||||||
tmppath = dw._tmppath
|
tmppath = dw._tmppath
|
||||||
|
Loading…
Reference in New Issue
Block a user