From: Alfredo Deza Date: Fri, 3 Jun 2016 12:46:46 +0000 (-0400) Subject: [RM-16140] tests: test btrfs instead of ext4 X-Git-Tag: v1.5.34~3^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=7f3828605f7fc5939193ac275525299e27ce049e;p=ceph-deploy.git [RM-16140] tests: test btrfs instead of ext4 Signed-off-by: Alfredo Deza --- diff --git a/ceph_deploy/tests/parser/test_osd.py b/ceph_deploy/tests/parser/test_osd.py index e994860..7a71671 100644 --- a/ceph_deploy/tests/parser/test_osd.py +++ b/ceph_deploy/tests/parser/test_osd.py @@ -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())