def test_purge_host_required(self, capsys):
        with pytest.raises(SystemExit):
            self.parser.parse_args('purge'.split())
        out, err = capsys.readouterr()
        assert "error: too few arguments" in err
dataset/ETHPy150Open ceph/ceph-deploy/ceph_deploy/tests/parser/test_purge.py/TestParserPurge.test_purge_host_required/original