From 7f3828605f7fc5939193ac275525299e27ce049e Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Fri, 3 Jun 2016 08:46:46 -0400 Subject: [PATCH] [RM-16140] tests: test btrfs instead of ext4 Signed-off-by: Alfredo Deza --- ceph_deploy/tests/parser/test_osd.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) 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()) -- 2.47.3