---
tests/gui/outside/__init__.py | 4 ++--
tests/gui/outside/test_reclaim.py | 4 ++--
tests/gui/outside/test_simplelivecd.py | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/tests/gui/outside/__init__.py b/tests/gui/outside/__init__.py
index 3a9a099..c3e1146 100644
--- a/tests/gui/outside/__init__.py
+++ b/tests/gui/outside/__init__.py
@@ -153,7 +153,7 @@ class Creator(object):
self._storage = blivet.Blivet()
# pylint: disable=undefined-variable
- disk1_path = blivet.util.create_sparse_tempfile(self.suitename,
blivet.size.Size("11 MB"))
+ disk1_path = blivet.util.create_sparse_tempfile(self.suitename,
blivet.size.Size("11 MiB"))
self._storage.config.diskImages[self.suitename] = disk1_path
self._storage.reset()
@@ -162,7 +162,7 @@ class Creator(object):
disk1 = self._storage.devicetree.getDeviceByName(self.suitename)
self._storage.initializeDisk(disk1)
- part = self._storage.newPartition(size=blivet.size.Size("10 MB"),
parents=[disk1])
+ part = self._storage.newPartition(size=blivet.size.Size("10 MiB"),
parents=[disk1])
self._storage.createDevice(part)
fmt = blivet.formats.getFormat("ext4", label="ANACTEST",
mountpoint=self.mountpoint)
diff --git a/tests/gui/outside/test_reclaim.py b/tests/gui/outside/test_reclaim.py
index 53661da..02c3ec5 100644
--- a/tests/gui/outside/test_reclaim.py
+++ b/tests/gui/outside/test_reclaim.py
@@ -27,7 +27,7 @@ import unittest
from blivet.size import Size
class BasicReclaimLiveCDCreator(Creator):
- drives = [("one", Size("8 GB"))]
+ drives = [("one", Size("8 GiB"))]
name = "basicreclaimlivecd"
# This does not test every spoke, as we only need to do enough to satisfy anaconda
@@ -59,7 +59,7 @@ class BasicReclaimLiveCD_OutsideTest(OutsideMixin, unittest.TestCase):
creatorClass = BasicReclaimLiveCDCreator
class CantReclaimLiveCDCreator(BasicReclaimLiveCDCreator):
- drives = [("one", Size("2 GB"))]
+ drives = [("one", Size("2 GiB"))]
name = "cantreclaimlivecd"
# We don't get to test much here, since the reclaim test shuts down anaconda.
diff --git a/tests/gui/outside/test_simplelivecd.py
b/tests/gui/outside/test_simplelivecd.py
index 0c4335d..4c07b16 100644
--- a/tests/gui/outside/test_simplelivecd.py
+++ b/tests/gui/outside/test_simplelivecd.py
@@ -25,7 +25,7 @@ import unittest
from blivet.size import Size
class SimpleLiveCDCreator(Creator):
- drives = [("one", Size("8 GB"))]
+ drives = [("one", Size("8 GiB"))]
name = "simplelivecd"
tests = [("welcome", "BasicWelcomeTestCase"),
("summary", "LiveCDSummaryTestCase"),
--
1.9.3