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:
Thiago da Silva 2014-07-08 11:18:16 -04:00
parent a314f8825f
commit 81734f62f8

View File

@ -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