Skip to content

Commit

Permalink
Change new format lookup name from "msdos" to "disklabel".
Browse files Browse the repository at this point in the history
Related: #130

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

Signed-off-by: mulhern <amulhern@redhat.com>
  • Loading branch information
mulkieran committed May 27, 2015
1 parent 291ef2b commit bcc50e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/action_test.py
Expand Up @@ -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)
Expand Down

0 comments on commit bcc50e4

Please sign in to comment.