[master 2/3] Change new format lookup name from "msdos" to "disklabel".

mulkieran installerbot-noreply at redhat.com
Wed May 27 20:03:09 UTC 2015


From: mulhern <amulhern at redhat.com>

Related: #130

There is no msdos format, but default labelType of disklabel format
is msdos.

Signed-off-by: mulhern <amulhern at redhat.com>
---
 tests/action_test.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/action_test.py b/tests/action_test.py
index 69b2c86..3cb9349 100644
--- a/tests/action_test.py
+++ b/tests/action_test.py
@@ -940,7 +940,7 @@ def testActionDependencies(self):
         # an action that creates a format on a device should require an action
         # that resizes the device that will contain the format
         grow_lv = ActionResizeDevice(testlv, testlv.size + Size("1 GiB"))
-        fmt = self.newFormat("msdos", device=testlv.path)
+        fmt = self.newFormat("disklabel", device=testlv.path)
         format_lv = ActionCreateFormat(testlv, fmt)
         self.assertEqual(format_lv.requires(grow_lv), True)
         self.assertEqual(grow_lv.requires(format_lv), False)


-- 
To view this commit on github, visit https://github.com/rhinstaller/blivet/commit/bcc50e43b67a159575a3ffd218c9c55d4ae8d6be


More information about the anaconda-patches mailing list