]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/commitdiff
[RM-16140] tests: test btrfs instead of ext4 399/head
authorAlfredo Deza <adeza@redhat.com>
Fri, 3 Jun 2016 12:46:46 +0000 (08:46 -0400)
committerAlfredo Deza <adeza@redhat.com>
Fri, 3 Jun 2016 12:46:46 +0000 (08:46 -0400)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
ceph_deploy/tests/parser/test_osd.py

index e994860f80a531026202ad6782581326fabef4da..7a716716471efaa3b80df9daa59df6470a156307 100644 (file)
@@ -86,9 +86,9 @@ class TestParserOSD(object):
         args = self.parser.parse_args('osd create host1:sdb'.split())
         assert args.fs_type == "xfs"
 
-    def test_osd_create_fstype_ext4(self):
-        args = self.parser.parse_args('osd create --fs-type ext4 host1:sdb'.split())
-        assert args.fs_type == "ext4"
+    def test_osd_create_fstype_btrfs(self):
+        args = self.parser.parse_args('osd create --fs-type btrfs host1:sdb'.split())
+        assert args.fs_type == "btrfs"
 
     def test_osd_create_fstype_invalid(self, capsys):
         with pytest.raises(SystemExit):
@@ -130,10 +130,6 @@ class TestParserOSD(object):
         args = self.parser.parse_args('osd prepare host1:sdb'.split())
         assert args.fs_type == "xfs"
 
-    def test_osd_prepare_fstype_ext4(self):
-        args = self.parser.parse_args('osd prepare --fs-type ext4 host1:sdb'.split())
-        assert args.fs_type == "ext4"
-
     def test_osd_prepare_fstype_invalid(self, capsys):
         with pytest.raises(SystemExit):
             self.parser.parse_args('osd prepare --fs-type bork host1:sdb'.split())