File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1832,12 +1832,12 @@ def test_doCoalesceLeaf_no_parent_after(self):
18321832 mock_parent .uuid = parent_uuid
18331833 mock_parent .parent = None
18341834 mock_parent .raw = False
1835- mock_parent .getSizeVHD .return_value = 10 * MEGA
1835+ mock_parent .getSizePhys .return_value = 10 * MEGA
18361836
18371837 vdi_uuid = str (uuid .uuid4 ())
18381838 mock_vdi = mock .MagicMock ()
18391839 mock_vdi .uuid = vdi_uuid
1840- mock_vdi .getSizeVHD .return_value = 10 * MEGA
1840+ mock_vdi .getSizePhys .return_value = 10 * MEGA
18411841 mock_vdi .parent = mock_parent
18421842
18431843 sr ._doCoalesceLeaf (mock_vdi )
@@ -1852,12 +1852,12 @@ def test_doCoalesceLeaf_parent_remains_after(self):
18521852 mock_parent .uuid = parent_uuid
18531853 mock_parent .parent = mock .MagicMock ()
18541854 mock_parent .raw = False
1855- mock_parent .getSizeVHD .return_value = 10 * MEGA
1855+ mock_parent .getSizePhys .return_value = 10 * MEGA
18561856
18571857 vdi_uuid = str (uuid .uuid4 ())
18581858 mock_vdi = mock .MagicMock ()
18591859 mock_vdi .uuid = vdi_uuid
1860- mock_vdi .getSizeVHD .return_value = 10 * MEGA
1860+ mock_vdi .getSizePhys .return_value = 10 * MEGA
18611861 mock_vdi .parent = mock_parent
18621862
18631863 sr ._doCoalesceLeaf (mock_vdi )
You can’t perform that action at this time.
0 commit comments