config_push.add_argument(
'client',
metavar='HOST',
- nargs='*',
+ nargs='+',
help='host(s) to push the config file to',
)
config_pull.add_argument(
'client',
metavar='HOST',
- nargs='*',
+ nargs='+',
help='host(s) to pull the config file from',
)
parser.set_defaults(
out, err = capsys.readouterr()
assert 'invalid choice' in err
- @pytest.mark.skipif(reason="http://tracker.ceph.com/issues/12150")
def test_config_push_host_required(self, capsys):
with pytest.raises(SystemExit):
self.parser.parse_args('config push'.split())
args = self.parser.parse_args('config push'.split() + hostnames)
assert args.client == hostnames
- @pytest.mark.skipif(reason="http://tracker.ceph.com/issues/12150")
def test_config_pull_host_required(self, capsys):
with pytest.raises(SystemExit):
self.parser.parse_args('config pull'.split())