~smoser/curtin/yakkety.lp1666986

« back to all changes in this revision

Viewing changes to tests/unittests/test_block_mkfs.py

  • Committer: Scott Moser
  • Date: 2016-08-05 20:47:14 UTC
  • mto: (58.1.1 pkg)
  • mto: This revision was merged to the branch mainline in revision 56.
  • Revision ID: smoser@ubuntu.com-20160805204714-f6j1k61cli5uf614
Tags: upstream-0.1.0~bzr415
ImportĀ upstreamĀ versionĀ 0.1.0~bzr415

Show diffs side-by-side

added added

removed removed

Lines of Context:
82
82
 
83
83
    def test_mkfs_fat(self):
84
84
        conf = self._get_config("fat32")
85
 
        expected_flags = [["-n", "format1"], ["-F", "32"]]
 
85
        expected_flags = ["-I", ["-n", "format1"], ["-F", "32"]]
86
86
        self._run_mkfs_with_config(conf, "mkfs.vfat", expected_flags)
87
87
 
88
88
    def test_mkfs_vfat(self):
89
89
        """Ensure we can use vfat without fatsize"""
90
90
        conf = self._get_config("vfat")
91
 
        expected_flags = [["-n", "format1"], ]
 
91
        expected_flags = ["-I", ["-n", "format1"], ]
92
92
        self._run_mkfs_with_config(conf, "mkfs.vfat", expected_flags)
93
93
 
94
94
    def test_mkfs_invalid_fstype(self):