]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/commitdiff
[RM-12151] Enable 'osd' tests related to subcommand options and help
authorTravis Rhoden <trhoden@redhat.com>
Tue, 30 Jun 2015 19:21:51 +0000 (12:21 -0700)
committerTravis Rhoden <trhoden@redhat.com>
Wed, 1 Jul 2015 20:50:22 +0000 (13:50 -0700)
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
ceph_deploy/tests/parser/test_osd.py

index ddd35e69e2c07411528292c60d63a717c1d42037..a65dbea434ce0214a7b81af835a14af3347799fa 100644 (file)
@@ -28,7 +28,6 @@ class TestParserOSD(object):
         out, err = capsys.readouterr()
         assert 'invalid choice' in err
 
-    @pytest.mark.skipif(reason="http://tracker.ceph.com/issues/12151")
     def test_osd_list_help(self, capsys):
         with pytest.raises(SystemExit):
             self.parser.parse_args('osd list --help'.split())
@@ -52,7 +51,6 @@ class TestParserOSD(object):
         hosts = [x[0] for x in args.disk]
         assert hosts == hostnames
 
-    @pytest.mark.skipif(reason="http://tracker.ceph.com/issues/12151")
     def test_osd_create_help(self, capsys):
         with pytest.raises(SystemExit):
             self.parser.parse_args('osd create --help'.split())
@@ -93,7 +91,6 @@ class TestParserOSD(object):
         args = self.parser.parse_args('osd create --fs-type ext4 host1:sdb'.split())
         assert args.fs_type == "ext4"
 
-    @pytest.mark.skipif(reason="http://tracker.ceph.com/issues/12151")
     def test_osd_create_fstype_invalid(self, capsys):
         with pytest.raises(SystemExit):
             self.parser.parse_args('osd create --fs-type bork host1:sdb'.split())
@@ -117,7 +114,6 @@ class TestParserOSD(object):
         args = self.parser.parse_args('osd create --dmcrypt --dmcrypt-key-dir /tmp/keys host1:sdb'.split())
         assert args.dmcrypt_key_dir == "/tmp/keys"
 
-    @pytest.mark.skipif(reason="http://tracker.ceph.com/issues/12151")
     def test_osd_prepare_help(self, capsys):
         with pytest.raises(SystemExit):
             self.parser.parse_args('osd prepare --help'.split())
@@ -141,7 +137,6 @@ class TestParserOSD(object):
         args = self.parser.parse_args('osd prepare --fs-type ext4 host1:sdb'.split())
         assert args.fs_type == "ext4"
 
-    @pytest.mark.skipif(reason="http://tracker.ceph.com/issues/12151")
     def test_osd_prepare_fstype_invalid(self, capsys):
         with pytest.raises(SystemExit):
             self.parser.parse_args('osd prepare --fs-type bork host1:sdb'.split())
@@ -182,7 +177,6 @@ class TestParserOSD(object):
         hosts = [x[0] for x in args.disk]
         assert hosts == hostnames
 
-    @pytest.mark.skipif(reason="http://tracker.ceph.com/issues/12151")
     def test_osd_activate_help(self, capsys):
         with pytest.raises(SystemExit):
             self.parser.parse_args('osd activate --help'.split())